Skip to content

Suggestion for .cargo/config.toml Explanation#974

Merged
phil-opp merged 1 commit into
phil-opp:mainfrom
moomoolive:patch-1
Apr 27, 2021
Merged

Suggestion for .cargo/config.toml Explanation#974
phil-opp merged 1 commit into
phil-opp:mainfrom
moomoolive:patch-1

Conversation

@moomoolive

Copy link
Copy Markdown
Contributor

I was confused on what the 'unstable' section of my .cargo/config.toml file should look like once I started getting linking errors when going through the third post. It turned out it was because I overwrote the previous 'unstable' configuration with the latter one.

In other words, I thought we were to overwrite "build-std = ["core", "compiler_builtins"]" under the "unstable" config, with "build-std-features = ["compiler-builtins-mem"]" and NOT have both present.

I think this makes it more clear that both are supposed to be present.

I was confused on what the 'unstable' section of my .cargo/config.toml file should look like once I started getting linking errors when going through the third post. It turned out it was because I overwrote the previous 'unstable' configuration with the latter one. 

In other words, I thought we were to overwrite "build-std = ["core", "compiler_builtins"]" under the "unstable" config, with "build-std-features = ["compiler-builtins-mem"]" and NOT have both present. 

I think this makes it more clear that both are supposed to be present.
@phil-opp phil-opp merged commit 6d02874 into phil-opp:main Apr 27, 2021
@phil-opp

Copy link
Copy Markdown
Owner

Thanks, I agree that this makes things more clear!

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.

2 participants