Skip to content

Commit e2f5889

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 <[email protected]>
1 parent c14b37a commit e2f5889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-builtins/build.rs

Lines changed: 1 addition & 0 deletions
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)