public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #899
@ 2022-06-08 12:02 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:02 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bc7f518ac6f5c05f1c6edd7a1601f32753bab47d
commit bc7f518ac6f5c05f1c6edd7a1601f32753bab47d
Merge: 9346bddb100 ebfbdf962fb
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Sat Jan 29 12:47:51 2022 +0000
Merge #899
899: Add -frust-cfg=value option for adding config options r=philberty a=philberty
This adds the initial support for config expansion on custom config values
it need support for parsing options such as feature=test with apropriate
error handling withing Session::handle_cfg_option(const std::string&).
This also applies the mark_for_strip checks only on AST::Functions and
will need applied to the rest of the crate in #872.
Addresses #889
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/hir/rust-ast-lower-item.h | 12 +++--------
gcc/rust/lang.opt | 4 ++++
gcc/rust/resolve/rust-ast-resolve-item.h | 3 +++
gcc/rust/resolve/rust-ast-resolve-toplevel.h | 3 +++
gcc/rust/rust-session-manager.cc | 21 ++++++++++++++++--
gcc/rust/rust-session-manager.h | 3 +++
gcc/testsuite/rust/compile/cfg1.rs | 31 +++++++++++++++++++++++++++
gcc/testsuite/rust/execute/torture/cfg1.rs | 32 ++++++++++++++++++++++++++++
8 files changed, 98 insertions(+), 11 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:02 [gcc/devel/rust/master] Merge #899 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).