bytecodealliance / bytecodealliance/cargo-component
Consider caching the default target check
Open
- Dominant language
- Rust
- Stars
- 593
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
As a follow up to #11 we should consider caching the check for the `wasm32-unknown-unknown` target in case invoking `rustc --print sysroot` multiple times becomes undesirable.
A good starting point is to take a look at how [cargo wasi performs target check caching.](https://github.com/bytecodealliance/cargo-wasi/blob/main/src/lib.rs#L237)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.