aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-02-09 11:32:50 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-04-06 10:47:22 +0200
commitf64799a567ed5d22b29b74dd0e6b0d361d9a5202 (patch)
tree8e2ca7d3852cda207fae52909639595919919215 /gcc
parent5fd04425c09ae8b3c800d74602689b4d28dce32b (diff)
downloadgcc-f64799a567ed5d22b29b74dd0e6b0d361d9a5202.zip
gcc-f64799a567ed5d22b29b74dd0e6b0d361d9a5202.tar.gz
gcc-f64799a567ed5d22b29b74dd0e6b0d361d9a5202.tar.bz2
gccrs: cli: Update safety warning message
The compiler's warning message about the safety flag did not match cargo-gccrs environment variable name anymore. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::compile_crate): Update the environment variable name. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/rust-session-manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index 0f460e2..a086f83 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -441,7 +441,7 @@ Session::compile_crate (const char *filename)
"defining the following environment variable (any value will "
"do)\n\nGCCRS_INCOMPLETE_AND_EXPERIMENTAL_COMPILER_DO_NOT_USE\n\nFor "
"cargo-gccrs, this means passing\n\n"
- "GCCRS_EXTRA_FLAGS=\"-frust-incomplete-and-experimental-compiler-do-not-"
+ "GCCRS_EXTRA_ARGS=\"-frust-incomplete-and-experimental-compiler-do-not-"
"use\"\n\nas an environment variable.");
RAIIFile file_wrap (filename);