summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/rust.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/rust.exp')
-rw-r--r--gcc/testsuite/lib/rust.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/rust.exp b/gcc/testsuite/lib/rust.exp
index 6993c976304..287905bd544 100644
--- a/gcc/testsuite/lib/rust.exp
+++ b/gcc/testsuite/lib/rust.exp
@@ -149,6 +149,8 @@ proc rust_init { args } {
lappend ALWAYS_RUSTFLAGS "additional_flags=$TOOL_OPTIONS"
}
+ lappend ALWAYS_RUSTFLAGS "additional_flags=-frust-incomplete-and-experimental-compiler-do-not-use"
+
verbose -log "ALWAYS_RUSTFLAGS set to $ALWAYS_RUSTFLAGS"
set gcc_warning_prefix "warning:"