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 #1711 Date: Thu, 12 Jan 2023 07:44:29 +0000 (GMT) [thread overview] Message-ID: <20230112074429.82D60385B531@sourceware.org> (raw) https://gcc.gnu.org/g:68b0212c81a9c8187976eb27a932ee4bf65643a1 commit 68b0212c81a9c8187976eb27a932ee4bf65643a1 Merge: fc72441e83f aa7698dca97 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Thu Jan 5 15:17:27 2023 +0000 Merge #1711 1711: unsafe: check use of `target_feature` attribute r=CohenArthur a=snprajwal The `target_feature` attribute is for conditional compilation and may or may not compile on all platforms. Using it requires an unsafe function or block. Addresses #1411 Co-authored-by: Prajwal S N <prajwalnadig21@gmail.com> Diff: gcc/rust/checks/errors/rust-unsafe-checker.cc | 29 ++++++++++++++++++++++++++- gcc/rust/checks/errors/rust-unsafe-checker.h | 5 +++++ gcc/rust/util/rust-attributes.cc | 3 +++ gcc/testsuite/rust/compile/unsafe11.rs | 8 ++++++++ 4 files changed, 44 insertions(+), 1 deletion(-)
reply other threads:[~2023-01-12 7:44 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=20230112074429.82D60385B531@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).