public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #899 Date: Wed, 8 Jun 2022 12:02:04 +0000 (GMT) [thread overview] Message-ID: <20220608120204.88E573AA942F@sourceware.org> (raw) 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(-)
reply other threads:[~2022-06-08 12:02 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220608120204.88E573AA942F@sourceware.org \ --to=tschwinge@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).