Enable mem for UEFI

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
This commit is contained in:
Ayush Singh 2022-06-28 20:16:07 +05:30
parent 735ad07501
commit f6ab9ca9a7
No known key found for this signature in database
GPG key ID: 67F9C783B5A1E3D5

View file

@ -29,6 +29,7 @@ fn main() {
|| (target.contains("sgx") && target.contains("fortanix"))
|| target.contains("-none")
|| target.contains("nvptx")
|| target.contains("uefi")
{
println!("cargo:rustc-cfg=feature=\"mem\"");
}