Comments (6)
The error is caused here:
Line 67 in 23c6fd2
You need to install the x86_64-pc-windows-gnu
target, I think, to get those files? I am not an expert in Windows matters but I assume that xargo code was added for a reason.^^
I can compile just fine using normal cargo.
How are you building the standard library using normal cargo?
from xargo.
I'm not building the standard library using normal cargo and I've x86_64-pc-windows-gnu installed, otherwise I wouldn't be able to compile it using standard cargo.
from xargo.
I'm not building the standard library using normal cargo
Then what do you mean by "I can compile just fine using normal cargo"? I thought you meant building the standard library, now I am not sure.
I've x86_64-pc-windows-gnu installed
Hm, can you check if the file "crt2.o" exists anywhere in /home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu
? It used to be at /home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/crt2.o
but maybe it moved...
from xargo.
Looks like these days the files reside at
~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/self-contained/crt2.o
~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/self-contained/dllcrt2.o
~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsbegin.o
~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsend.o
from xargo.
FWIW, the PR that broke this is probably rust-lang/rust#72999.
from xargo.
The pull request works. Thanks for your help.
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 compile Tier3(mipsel-unknown-linux-uclibc) error HOT 4
- error[E0463]: can't find crate for `std` HOT 3
- Cargo cannot build `compiler_builtins` for `aarch64-unknown-linux-musl` HOT 6
- 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.