Skip to content

Conversation

darcagn
Copy link
Contributor

@darcagn darcagn commented Apr 17, 2024

Fixes issue #491

@@ -153,6 +153,11 @@ pub fn build_sysroot(env: &HashMap<String, String>, config: &ConfigInfo) -> Resu
"debug"
};

if let Ok(cg_rustflags) = std::env::var("CG_RUSTFLAGS") {
Copy link
Member

Choose a reason for hiding this comment

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

Ah so the problem is that we don't use config.rustflags here. I see. 👍

Copy link
Member

@GuillaumeGomez GuillaumeGomez left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@antoyo antoyo merged commit ab7d138 into rust-lang:master Apr 17, 2024
@antoyo
Copy link
Contributor

antoyo commented Apr 17, 2024

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants