Open thor314 opened 3 months ago
It's far from ideal but I've worked around this by putting wasm-bindgen-rayon and all parallel functionality behind a non-default feature flag, which at least lets me run cargo
commands from my workspace root without errors. I don't know that helps or not in your case, I agree that a better solution would be good.
If you are in a workspace, your .cargo folder with the config should be at the root, not in the subfolder, otherwise it will be ignored.
My workspace containing this project as a dependency fails to build, though the member subdir succeeds at building. Removal of that subdir allows the project to build as expected.
In my workspace I have:
I have
wasm-client/.cargo/config.toml
containing:When I
cargo check
from root, I obtain error:When I
cargo check
fromwasm-client
, I see only the warning:I would like to be able to use this library as a dependency without limiting my use of
cargo
. I did not see any related issues in this repo. Do you have any suggestions?