Comments (6)
I probably can't help much with your actual problem, but...
A challenge here is that the temporary Cargo.toml gets cleaned up xargo.
you can set XARGO_KEEP_TEMP
to disable the cleanup.
It sounds like there might be a compiler_builtins
but the crate does not exist for this architecture, or cannot be found in the sysroot source?
from xargo.
Looks like compiler_builtins
is installed by default.
It seems strange that cargo is complaining that the version isn't specified.
It sounds like there might be a
compiler_builtins
but the crate does not exist for this architecture, or cannot be found in the sysroot source?
How can I check what's in the sysroot for my build?
from xargo.
hmm, getting the same issue with a new project, almost empty, and have no Idea why.
For reference, these are the steps I'm taking to reproduce:
https://wiki.osdev.org/Raspberry_Pi_Bare_Bones_Rust
from xargo.
The same error also appears in #321 during CI, so there's definitely some rustc/cargo change that happened here. But I won't have time to look into this for now... help would be much appreciated!
from xargo.
Is it because of the missing source for compiler_builtins
in rust-src? I am not sure if it had been there before.
ln ~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library
there is no compiler_builtins
folder.
By adding git = "https://github.com/rust-lang/compiler-builtins"
to the Cargo.toml
of the problematic build, the problem is fixed.
from xargo.
I created a patch that adds the git reference, but I'm not sure what the previous behavior was.
from xargo.
Related Issues (20)
- xargo doesn't work with cranelift HOT 7
- Move away from travis-ci.org HOT 3
- v0.3.22 tag missing from repository HOT 1
- Cross compiling from Linux to Windows with disabled default features for std is giving error HOT 6
- Cross compile Tier3(mipsel-unknown-linux-uclibc) error HOT 4
- error[E0463]: can't find crate for `std` HOT 3
- std hashbrow dependency error HOT 1
- Crazy unresolved import (all files are there) HOT 1
- rustup toolchain HOT 1
- Segmentation fault on aarch64 HOT 1
- Link error on aarch64 HOT 1
- "cant find crate std" error when trying to build DLL
- New issues
- windows build error HOT 1
- Problems with basic setup when using XARGO_RUST_SRC HOT 3
- target powerpc-unknown-linux-gnu - can't even build simple hello world
- v0.3.26 has a subtle breaking change HOT 1
- xargo cannot compile `riscv64gc-unknown-llinux-musl`
- contributing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xargo.