bytecodealliance / bytecodealliance/cargo-component

`cargo component` does not obey `.cargo/config.toml`

Open
#364 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
593
Forks
68
PR merge metrics
No merged PRs in 30d

Description

I use `.cargo/config.toml` to control the compilation of workspace.

```toml
# .cargo/config.toml
[build]
target = "wasm32-wasip2"
```

But `cargo component build` still generates `wasm32-wasip1`

```yaml
cargo-component-component 0.19.0
```

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.