Comments (6)
Most people are keeping their libraries in track with Rust master. You should probably try downloading Rust nightly. http://www.rust-lang.org/
from cargo.
@bvssvni: thanks, it compile on nightly.
from cargo.
Getting this on OSX 10.9.3:
$ make
/Library/Developer/CommandLineTools/usr/bin/make -C libs/hammer.rs
rustc src/hammer.rs --out-dir target --crate-type=rlib
src/hammer.rs:175:44: 175:59 error: cannot index a value of type `&str`
src/hammer.rs:175 source.iter().position(|s| s.as_slice()[0] == '-' as u8 && s.as_slice()[1] == c as u8)
^~~~~~~~~~~~~~~
src/hammer.rs:175:76: 175:91 error: cannot index a value of type `&str`
src/hammer.rs:175 source.iter().position(|s| s.as_slice()[0] == '-' as u8 && s.as_slice()[1] == c as u8)
^~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
make[1]: *** [target/libhammer-e1cb8171-0.0.rlib] Error 101
make: *** [libs/hammer.rs/target/libhammer-e1cb8171-0.0.rlib] Error 2
Rust version:
rustc 0.11.0-pre-nightly (67776ba3dab24a3e281931da437d30ccfc3b04c1 2014-07-03 01:06:38 +0000)
Cargo sha1: d3e28cfe5dada42235c6af5db670da51792fa8f6
from cargo.
@obvio171 yes, this is a change that landed yesterday.
from cargo.
I suggest opening a new bug for it though
from cargo.
Ok, thanks!
from cargo.
Related Issues (20)
- Running 'cargo new' with 'workspace.package.name' set creates an invalid manifest HOT 7
- `cargo install` not working correctly when using git repo HOT 5
- unable to : pip install openai in godaddy linux hosting. HOT 1
- Ability to cross-compile build scripts HOT 2
- Discrepancy in dependency specification with multiple locations HOT 3
- Cargo fails to detect environment variable is newly set and rebuild if the environment variable is set in `config.toml` HOT 2
- support system ENV set crate registry HOT 2
- Tracking Issue for `--output-format` flag for `cargo rustdoc` HOT 1
- Tracking Issue for `-Zgit`
- Expose a function to obtain cargo's installation root HOT 5
- Provide a way to figure out why a specific dependency feature is enabled during build HOT 4
- Tracking Issue for `update --precise` with pre-release HOT 4
- warning: spurious network error HOT 2
- There are no documentation that cargo currently does not tell build script if `cfg!(test)` or not
- `cargo install` should upgrade or ignore, right? HOT 2
- Different behavior in features resolution during testing for workspace HOT 2
- Optimization of HTML generated by `cargo timings`
- Odd behaviour for non-precise git dependencies in Cargo.lock HOT 1
- project with workspace fails to load local dependency and instead tries to compile against older version on crates.io HOT 4
- Missing “Generated” status for `cargo rustdoc --output-format json` HOT 3
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 cargo.