aerialx / cargo-build Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tomaka/cargo-emscripten
Experiments with Rust and Emscripten
This project forked from tomaka/cargo-emscripten
Experiments with Rust and Emscripten
This project is a bit old now. I'm wondering if this is still an acceptable way of compiling rust with emscripten.
@tomaka reported:
If emcc and opt are not in the PATH, the error message is very confusing (Os error 2 or something)
Also the liberal use of unwrap()
in a few places makes errors rather unhelpful and deadlocks cargo's job queue.
When trying to build using cargo build
I get this error:
julien@beitou:~/travail/git/cargo-build$ cargo build
Downloading pkg-config v0.3.0
Downloading gcc v0.3.1
Downloading threadpool v0.1.0
Downloading libgit2-sys v0.2.1
Unable to get packages from source
Caused by:
failed to parse manifest at `/home/julien/.cargo/registry/src/github.com-1ecc6299db9ec823/libgit2-sys-0.2.1/Cargo.toml`
Caused by:
library target names cannot contain hyphens: libgit2-sys
According to gchp/termbox-sys#5 this issue happens with recent cargo.
I use this version of Cargo:
cargo 0.2.0-nightly (a483581 2015-05-14) (built 2015-05-15)
This comes with rust stable 1.1.
I don't know if you'd like to fix this ?
If I try to run cargo update
, then cargo build
, I then get this error:
native library `git2` is being linked to by more than one package, and can only be linked to by one package
libgit2-sys v0.3.1
libgit2-sys v0.2.20
As I am fairly newbie about Rust I'm quite stuck now :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.