diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-11-28 18:22:34 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-12-13 14:00:08 +0100 |
commit | b07ef39ffbf4e77a586605019c64e2e070915ac3 (patch) | |
tree | ca0b82d92b43078d877edcd8e39a0146a1c6899d /gcc/fortran/parse.cc | |
parent | 88415d33bb34c087da29938ef270788f155bb584 (diff) | |
download | gcc-b07ef39ffbf4e77a586605019c64e2e070915ac3.zip gcc-b07ef39ffbf4e77a586605019c64e2e070915ac3.tar.gz gcc-b07ef39ffbf4e77a586605019c64e2e070915ac3.tar.bz2 |
gccrs: Add fatal_error when experimental flag is not present
This commits ports over the flag/env variable checking from #1540 which only
allows compilation using gccrs if a certain flag is specified
gcc/rust/
* lang.opt (-frust-incomplete-and-experimental-compiler-do-not-use):
New.
* rust-session-manager.cc (Session::compile_crate): Check it.
* Make-lang.in (RUST_SELFTEST_FLAGS): Add it.
gcc/testsuite/
* lib/rust.exp (rust_init): Add
'-frust-incomplete-and-experimental-compiler-do-not-use'.
Diffstat (limited to 'gcc/fortran/parse.cc')
0 files changed, 0 insertions, 0 deletions