We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
msvc-crt-static = false
Hi, there's some issue with how you build the config graph.
Supplying a dist.toml with
dist.toml
[dist] msvc-crt-static = false
Has no effect. No matter the value.
On windows with dist 0.28.0
cargo new foo
authors
repository
Cargo.toml
git commit -am "initial"
dist init
dist init build --allow-dirt --print=linkage
You will get this output
┌────────────────────┬──────────────────────────────────┐ │ Category ┆ Libraries │ ╞════════════════════╪══════════════════════════════════╡ │ System ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Homebrew ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Public (unmanaged) ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Frameworks ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Other ┆ KERNEL32.dll │ │ ┆ api-ms-win-core-synch-l1-2-0.dll │ │ ┆ ntdll.dll │ └────────────────────┴──────────────────────────────────┘
dist-workspace.toml
You get the same output
cargo-dist/cargo-dist/src/build/cargo.rs
Line 94 in b96f4b7
Output:
┌────────────────────┬───────────────────────────────────┐ │ Category ┆ Libraries │ ╞════════════════════╪═══════════════════════════════════╡ │ System ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Homebrew ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Public (unmanaged) ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Frameworks ┆ │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ Other ┆ KERNEL32.dll │ │ ┆ VCRUNTIME140.dll │ │ ┆ api-ms-win-core-synch-l1-2-0.dll │ │ ┆ api-ms-win-crt-heap-l1-1-0.dll │ │ ┆ api-ms-win-crt-locale-l1-1-0.dll │ │ ┆ api-ms-win-crt-math-l1-1-0.dll │ │ ┆ api-ms-win-crt-runtime-l1-1-0.dll │ │ ┆ api-ms-win-crt-stdio-l1-1-0.dll │ │ ┆ ntdll.dll │ └────────────────────┴───────────────────────────────────┘
The text was updated successfully, but these errors were encountered:
cargo-dist
warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
No branches or pull requests
Hi, there's some issue with how you build the config graph.
Supplying a
dist.toml
withHas no effect. No matter the value.
Reproduce
On windows with dist 0.28.0
cargo new foo
authors
andrepository
inCargo.toml
git commit -am "initial"
dist init
and click through defaultsdist init build --allow-dirt --print=linkage
You will get this output
msvc-crt-static = false
at the end ofdist-workspace.toml
as described in the docsYou get the same output
cargo-dist/cargo-dist/src/build/cargo.rs
Line 94 in b96f4b7
dist init build --allow-dirt --print=linkage
Output:
The text was updated successfully, but these errors were encountered: