We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 703bc09 commit cefde96Copy full SHA for cefde96
1 file changed
src/toolchain.rs
@@ -83,6 +83,7 @@ pub fn cflags(args: &Args) -> OsString {
83
// terrible hack, see
84
// https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_guest_bin/build.rs#L80
85
"--target=x86_64-unknown-linux-none",
86
+ "-U__linux__",
87
// We don't support stack protectors at the moment, but Arch Linux clang
88
// auto-enables them for -linux platforms, so explicitly disable them.
89
"-fno-stack-protector",
0 commit comments