diff --git a/scripts/generate_rust_target.rs b/scripts/generate_rust_target.rs index 0a1ba95d74e772..e36211e6161117 100644 --- a/scripts/generate_rust_target.rs +++ b/scripts/generate_rust_target.rs @@ -204,7 +204,7 @@ fn main() { "data-layout", "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", ); - let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string(); + let mut features = "-3dnow,-3dnowa,-mmx,+soft-float,-sse,-sse2".to_string(); if cfg.has("RETPOLINE") { features += ",+retpoline-external-thunk"; }