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

[ #1806 ] Add option_env support #3094

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 2, 2024

  1. Add option_env support

    gcc/rust/ChangeLog:
    	* expand/rust-macro-builtins-utility.cc:
    	Add macro expansion for option_env with eager expansion
    	* expand/rust-macro-builtins.cc:
    	Add option_env to builtin list
    	* expand/rust-macro-builtins.h:
    	Add option_env handler to header file
    
    gcc/testsuite/ChangeLog:
    	* rust/compile/macros/builtin/option_env1.rs:
    	Add success case for option_env
    	* rust/compile/macros/builtin/option_env2.rs:
    	Add failure case for option_env
    	* rust/compile/macros/builtin/option_env3.rs:
    	Add second failure case for option_env
    	* rust/execute/torture/builtin_macro_option_env.rs:
    	Add execution case for option_env
    
    Signed-off-by: Liam Naddell <[email protected]>
    liamnaddell committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    962dc4d View commit details
    Browse the repository at this point in the history