-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
hmm I am unable to compile the sample code because it can't find the std crate?
error[E0463]: can't find crate for `std`
--> /home/lucas/.cargo/git/checkouts/megaton-hammer-5a678c5818d42e5c/06d94ff/megaton-hammer/src/lib.rs:24:1
|
24 | extern crate std;
| ^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `aarch64-roblabla-switch` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `megaton-hammer`.
warning: build failed, waiting for other jobs to finish...
error: build failed
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.m2PJDuuXPNpD/Cargo.toml" "--target" "aarch64-roblabla-switch" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
and this is the backtrace
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.tnArN8Fu3qE3/Cargo.toml" "--target" "aarch64-roblabla-switch" "-p" "std"` failed with exit code: Some(101)
stack backtrace:
0: error_chain::make_backtrace::h618245194679c5b1 (0x5615738ed9e7)
1: <error_chain::State as core::default::Default>::default::h2b6b425cadae00cb (0x5615738eda75)
2: <std::process::Command as xargo::extensions::CommandExt>::run::h143c9fc9861b183a (0x5615738a7ccf)
3: xargo::sysroot::build::h9b673e4b1ae939db (0x5615738b0ab8)
4: xargo::sysroot::update::h53e8bc05c1085ea5 (0x5615738b4224)
5: xargo::main::h0a8f43c9e1297d20 (0x5615738c13b9)
6: std::rt::lang_start::{{closure}}::hf3e2b53967dd2936 (0x5615738a06c2)
7: std::rt::lang_start_internal::{{closure}}::h2cd8b452b6782704 (0x56157390cc12)
at src/libstd/rt.rs:49
std::panicking::try::do_call::hd15c5e8e2521231c
at src/libstd/panicking.rs:297
8: __rust_maybe_catch_panic (0x5615739154d9)
at src/libpanic_unwind/lib.rs:92
9: std::panicking::try::h5fada6fea816cadd (0x56157390d765)
at src/libstd/panicking.rs:276
std::panic::catch_unwind::he4d80b3fbb117735
at src/libstd/panic.rs:388
std::rt::lang_start_internal::hf70c4d238c71a004
at src/libstd/rt.rs:48
10: main (0x5615738c1e41)
11: __libc_start_main (0x7f0ab9fc3b96)
12: _start (0x5615738954b9)
13: <unknown> (0x0)
Metadata
Metadata
Assignees
Labels
No labels