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

cargo build --release error #80

Open
zzz6519003 opened this issue Feb 1, 2024 · 0 comments
Open

cargo build --release error #80

zzz6519003 opened this issue Feb 1, 2024 · 0 comments

Comments

@zzz6519003
Copy link

zzz6519003 commented Feb 1, 2024

error[E0463]: can't find crate for core
|
= note: the wasm32-unknown-unknown target may not be installed
= help: consider downloading the target with rustup target add wasm32-unknown-unknown

error[E0463]: can't find crate for compiler_builtins

For more information about this error, try rustc --explain E0463.
error: could not compile cfg-if (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: cargo command run failed: exit status: 101

IF I RUN AGRAIN, I GET:

  | ------------------------ in this macro invocation
  |
  = note: this error originates in the macro `impl_trait_array` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope
--> /Users/mac/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-slice-cast-1.2.2/src/lib.rs:274:25
|
274 | Ok(slice::from_raw_parts(slice.as_ptr() as *const [$to; N], len))
| ^^ not found in this scope
...
516 | impl_trait_array!(isize);
| ------------------------ in this macro invocation
|
= note: this error originates in the macro impl_trait_array (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope
--> /Users/mac/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-slice-cast-1.2.2/src/lib.rs:287:21
|
287 | Ok(&mut [])
| ^^ not found in this scope
...
516 | impl_trait_array!(isize);
| ------------------------ in this macro invocation
|
= note: this error originates in the macro impl_trait_array (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope
--> /Users/mac/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-slice-cast-1.2.2/src/lib.rs:291:25
|
291 | Ok(slice::from_raw_parts_mut(slice.as_mut_ptr() as *mut [$to; N], len))
| ^^ not found in this scope
...
516 | impl_trait_array!(isize);
| ------------------------ in this macro invocation
|
= note: this error originates in the macro impl_trait_array (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0405, E0412, E0425, E0463.
error: could not compile byte-slice-cast (lib) due to 470 previous errors
error: cargo command run failed: exit status: 101

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

No branches or pull requests

1 participant