Skip to content

Commit

Permalink
Enable mem for UEFI
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
  • Loading branch information
Ayush1325 committed Jun 28, 2022
1 parent b5065a0 commit 7eb578c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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\"");
}
Expand Down

0 comments on commit 7eb578c

Please sign in to comment.