Giter Club home page Giter Club logo

Comments (6)

bvssvni avatar bvssvni commented on May 18, 2024

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.

julienXX avatar julienXX commented on May 18, 2024

@bvssvni: thanks, it compile on nightly.

from cargo.

hsribei avatar hsribei commented on May 18, 2024

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.

steveklabnik avatar steveklabnik commented on May 18, 2024

@obvio171 yes, this is a change that landed yesterday.

from cargo.

steveklabnik avatar steveklabnik commented on May 18, 2024

I suggest opening a new bug for it though

from cargo.

hsribei avatar hsribei commented on May 18, 2024

Ok, thanks!

from cargo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.