aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-10-18 11:03:58 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-10-27 12:00:01 +0200
commit3f3b4a45eb90b5afdfd9d067fd9ea7969b5a69d6 (patch)
tree8fe5255d909e2f3b406fa45a7c133c4760c0d24c /gcc
parentd8a8061f2e884aa2aa31d746c4cc104083bbbbb6 (diff)
downloadgcc-3f3b4a45eb90b5afdfd9d067fd9ea7969b5a69d6.zip
gcc-3f3b4a45eb90b5afdfd9d067fd9ea7969b5a69d6.tar.gz
gcc-3f3b4a45eb90b5afdfd9d067fd9ea7969b5a69d6.tar.bz2
lang-specs: Rename language spec @rs -> @rust
Co-authored-by: ibuclaw <ibuclaw@gdcproject.org>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/Make-lang.in2
-rw-r--r--gcc/rust/lang-specs.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 58dbc09..8f10396 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -269,7 +269,7 @@ rust.uninstall:
# Enable selftests for the rust frontend
selftest-rust: s-selftest-rust
-RUST_SELFTEST_FLAGS = -xrs $(SELFTEST_FLAGS)
+RUST_SELFTEST_FLAGS = -xrust $(SELFTEST_FLAGS)
RUST_SELFTEST_DEPS = rust1$(exeext) $(SELFTEST_DEPS)
# Run the rust selftests
diff --git a/gcc/rust/lang-specs.h b/gcc/rust/lang-specs.h
index 9b14a55..eed28b1 100644
--- a/gcc/rust/lang-specs.h
+++ b/gcc/rust/lang-specs.h
@@ -20,7 +20,7 @@
/* This is the contribution to the `default_compilers' array in gcc.cc
for the Rust language. */
-{".rs", "@rs", 0, 1, 0},
- {"@rs",
+{".rs", "@rust", 0, 1, 0},
+ {"@rust",
"rust1 %i %(cc1_options) %{I*} %{L*} %D %{!fsyntax-only:%(invoke_as)}", 0, 1,
0},