We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc9346 commit 96d7400Copy full SHA for 96d7400
src/compiler/clang.rs
@@ -239,6 +239,7 @@ counted_array!(pub static ARGS: [ArgInfo<gcc::ArgData>; _] = [
239
take_arg!("-load", PathBuf, Separated, ExtraHashFile),
240
flag!("-mconstructor-aliases", PassThroughFlag),
241
take_arg!("-mllvm", OsString, Separated, PassThrough),
242
+ flag!("-mrelax-all", PassThroughFlag),
243
flag!("-no-opaque-pointers", PreprocessorArgumentFlag),
244
take_arg!("-plugin-arg", OsString, Concatenated('-'), PassThrough),
245
take_arg!("-target", OsString, Separated, PassThrough),
@@ -911,6 +912,12 @@ mod test {
911
912
assert_eq!(ovec!["-Xclang", "-mconstructor-aliases"], a.common_args);
913
}
914
915
+ #[test]
916
+ fn test_parse_xclang_mrelax_all() {
917
+ let a = parses!("-c", "foo.c", "-o", "foo.o", "-Xclang", "-mrelax-all");
918
+ assert_eq!(ovec!["-Xclang", "-mrelax-all"], a.common_args);
919
+ }
920
+
921
#[test]
922
fn test_parse_fplugin() {
923
let a = parses!("-c", "foo.c", "-o", "foo.o", "-fplugin", "plugin.so");
0 commit comments