Cargo run should use the cargo config specified for the package #9354
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Currently if we run:
And we have example_kernel as a workspace member in cargo.toml and there is a cargo config file in
example_kernel/.cargo/config.toml
with the following:It will use the standard configs not the one defined in
example_kernel/.cargo/
I would like cargo to use that config file not the standard configs as we are in a package. I cannot define a config file in the root as I only want for example the kernel package to be no std and have alloc while the bootloader without alloc and the builder to include std.
The text was updated successfully, but these errors were encountered: