From 7eb578cb99e6cab15d84b6bde1a2e33fa6e95624 Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Tue, 28 Jun 2022 20:16:07 +0530 Subject: [PATCH] Enable mem for UEFI Signed-off-by: Ayush Singh --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 11deffb9c..8d482fa21 100644 --- a/build.rs +++ b/build.rs @@ -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\""); }