bytecodealliance / bytecodealliance/cargo-component

Consider caching the default target check

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.