Skip to content

Commit 54629a1

Browse files
committed
build: compile memory intrinsics on xous
Like SGX, Xous does not have any libc to link against. As a result, memory intrinsics need to be available as part of `compiler_builtins` Signed-off-by: Sean Cross <sean@xobs.io>
1 parent 0796d75 commit 54629a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ fn main() {
3030
|| target.contains("-none")
3131
|| target.contains("nvptx")
3232
|| target.contains("uefi")
33+
|| target.contains("xous")
3334
{
3435
println!("cargo:rustc-cfg=feature=\"mem\"");
3536
}

0 commit comments

Comments
 (0)