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 #1521
Date: Tue, 27 Sep 2022 08:23:37 +0000 (GMT)	[thread overview]
Message-ID: <20220927082337.32CB6385843D@sourceware.org> (raw)

https://gcc.gnu.org/g:cecd314884a285957a110560bbd141a5f39ad7d3

commit cecd314884a285957a110560bbd141a5f39ad7d3
Merge: 8ed1bbaa405 1c19256b706
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Tue Sep 27 05:26:17 2022 +0000

    Merge #1521
    
    1521: expand: eager evaluate macros inside builtin macros r=CohenArthur a=liushuyu
    
    - expand: eagerly evaluate the macros inside some of the builtin macros
    
    Co-authored-by: liushuyu <liushuyu011@gmail.com>

Diff:

 gcc/rust/ast/rust-ast.h                            |  12 ++
 gcc/rust/ast/rust-expr.h                           |   2 +
 gcc/rust/expand/rust-macro-builtins.cc             | 206 ++++++++++++++++-----
 gcc/rust/expand/rust-macro-expand.cc               |   1 +
 gcc/testsuite/rust/compile/builtin_macro_concat.rs |   8 +-
 gcc/testsuite/rust/compile/builtin_macro_env.rs    |   4 +-
 .../rust/compile/builtin_macro_recurse.rs          |  21 +++
 7 files changed, 203 insertions(+), 51 deletions(-)

                 reply	other threads:[~2022-09-27  8:23 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=20220927082337.32CB6385843D@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: link
Be 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).