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

Drop references to wasm-wasi #3027

Merged
merged 4 commits into from
Nov 30, 2024
Merged

Drop references to wasm-wasi #3027

merged 4 commits into from
Nov 30, 2024

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Nov 28, 2024

This avoids the following error when upgrading to Rust 1.85.0

ERROR: An error occurred during the fetch of repository 'crate_index_cargo_bindeps':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rules_rust/crate_universe/private/crates_repository.bzl", line 60, column 50, in _crates_repository_impl
		metadata_path = splice_workspace_manifest(
	File "/private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rules_rust/crate_universe/private/splicing_utils.bzl", line 175, column 12, in splice_workspace_manifest
		execute(
	File "/private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rules_rust/crate_universe/private/common_utils.bzl", line 55, column 13, in execute
		fail(_EXECUTE_ERROR_MESSAGE.format(
Error in fail: Command [/private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/cargo_bazel_bootstrap/release/cargo-bazel, "splice", "--output-dir", /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/crate_index_cargo_bindeps/splicing-output, "--splicing-manifest", /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/crate_index_cargo_bindeps/splicing_manifest.json, "--config", /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/crate_index_cargo_bindeps/cargo-bazel.json, "--cargo", /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools/bin/cargo, "--rustc", /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools/bin/rustc, "--cargo-lockfile", /Users/andrebrisco/Code/rules_rust/examples/crate_universe/cargo_bindeps/Cargo.lock] failed with exit code 1.
STDOUT ------------------------------------------------------------------------

STDERR ------------------------------------------------------------------------

error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/var/folders/hf/phjl9q7501gb5wt_qr4ltn3m0000gn/T/.tmpSQqSeg/cargo_tree_rustc_wrapper.sh /private/var/tmp/_bazel_andrebrisco/5f9b22deab82162fb4591147bb665052/external/rust_darwin_aarch64__aarch64-apple-darwin__nightly_tools/bin/rustc - --crate-name ___ --print=file-names --target wasm32-wasi --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  error: Error loading target specification: Could not find specification for target "wasm32-wasi". Run `rustc --print target-list` for a list of built-in targets


Error: Failed to generate features

Caused by:
    Failed to run cargo tree: exit status: 101

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: anyhow::kind::Adhoc::new
   2: cargo_bazel::metadata::cargo_tree_resolver::TreeResolver::generate
   3: cargo_bazel::cli::splice::splice
   4: cargo_bazel::main
   5: std::sys::backtrace::__rust_begin_short_backtrace
   6: std::rt::lang_start::{{closure}}
   7: std::rt::lang_start_internal
   8: _main

@UebelAndre UebelAndre marked this pull request as ready for review November 28, 2024 19:26
@UebelAndre UebelAndre enabled auto-merge November 28, 2024 19:27
@UebelAndre UebelAndre force-pushed the triple branch 3 times, most recently from 552088b to 1c7dd8c Compare November 28, 2024 19:37
@UebelAndre UebelAndre force-pushed the triple branch 4 times, most recently from 3233e29 to 5b12184 Compare November 28, 2024 23:04
@UebelAndre UebelAndre force-pushed the triple branch 11 times, most recently from 7757a8a to 0cc1cf2 Compare November 29, 2024 21:33
@UebelAndre UebelAndre added this pull request to the merge queue Nov 30, 2024
Merged via the queue into bazelbuild:main with commit ba6af15 Nov 30, 2024
4 checks passed
@UebelAndre UebelAndre deleted the triple branch November 30, 2024 15:57
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 this pull request may close these issues.

2 participants