Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New artifacts in wasi-sdk-22 release #420

Closed
abrown opened this issue May 14, 2024 · 4 comments · Fixed by #432
Closed

New artifacts in wasi-sdk-22 release #420

abrown opened this issue May 14, 2024 · 4 comments · Fixed by #432

Comments

@abrown
Copy link
Collaborator

abrown commented May 14, 2024

I just re-installed wasi-sdk-22 again (the -linux version) and noticed a few new files:

  • .crates2.json
{"installs":{"wasm-component-ld 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)":{"version_req":"=0.1.5","bins":["wasm-component-ld"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-unknown-linux-gnu","rustc":"rustc 1.77.2 (25ef9e3d8 2024-04-09)\nbinary: rustc\ncommit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\ncommit-date: 2024-04-09\nhost: x86_64-unknown-linux-gnu\nrelease: 1.77.2\nLLVM version: 17.0.6\n"}}}
  • .crates.toml
[v1]
"wasm-component-ld 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = ["wasm-component-ld"]

I suspect these are coming from #416; @alexcrichton, do we need/want these files?

@alexcrichton
Copy link
Collaborator

Oop no we should delete those files and or use a different --root and copy things over manually

@bjorn3
Copy link

bjorn3 commented Jun 27, 2024

You can use cargo install --no-track to avoid creating these files in the first place.

abrown added a commit that referenced this issue Jun 28, 2024
As @bjorn3 mentioned in #420, using `--no-track` should get rid of the extra files that show up after the `cargo install`. Fixes #420.
@abrown abrown closed this as completed in 35c271e Jul 8, 2024
@abrown
Copy link
Collaborator Author

abrown commented Jul 10, 2024

Nope, looks like #432 did not in fact fix the issue, or perhaps there is something else going on here:

$ ll /opt/wasi-sdk/latest/
bin/           .crates2.json  .crates.toml   lib/           share/         VERSION

@abrown abrown reopened this Jul 10, 2024
@alexcrichton
Copy link
Collaborator

I believe this is fixed in #429, so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants