Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macros: Add env! macro #1113

Merged
merged 1 commit into from
Apr 14, 2022
Merged

macros: Add env! macro #1113

merged 1 commit into from
Apr 14, 2022

Conversation

omachota
Copy link
Contributor

Added the env!() macro and relevant test cases

Fixes: #977

Signed-off-by: Ondřej Machota ondrejmachota@gmail.com

Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pull request! This is a great start!

gcc/testsuite/rust/execute/torture/execute.exp Outdated Show resolved Hide resolved
gcc/testsuite/rust/execute/torture/builtin_macro_env.rs Outdated Show resolved Hide resolved
gcc/rust/expand/rust-macro-builtins.cc Outdated Show resolved Hide resolved
gcc/rust/expand/rust-macro-builtins.cc Outdated Show resolved Hide resolved
Signed-off-by: Ondřej Machota <ondrejmachota@gmail.com>
Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Thanks a lot!!!

@CohenArthur
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 14, 2022

Build succeeded:

@bors bors bot merged commit 73e017f into Rust-GCC:master Apr 14, 2022
@omachota omachota deleted the env-macro branch May 28, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement env!() builtin macro
3 participants