Hacker News new | past | comments | ask | show | jobs | submit login

I'm actually not sure what version of Rust the Servo folk are using... in which case the Rust you're reading may be very different from the language's current iteration. I believe work on Servo started immediately after 0.2 was released, back in March. 0.3 ought to be out sometime this week. And I still wouldn't exactly recommend learning either version, because most of the tutorials and docs still refer to 0.1. :P If you want help learning or want to help out, the devs hang out in #rust on moznet during California working hours.



We're using the bleeding edge master builds of Rust. Our work on Servo informs the direction we want to take Rust, and vice versa. Servo has been really valuable to help us determine whether the language features really work out in practice.


What git id should I use. I tried using the master of rust to build the master of servo and got:

    make -C src/rust-harfbuzz RUSTFLAGS="-L ../harfbuzz/src/.libs/"
    make[1]: Entering directory `/tmp/servo/build/src/rust-harfbuzz'
    rustc -L ../harfbuzz/src/.libs/ /tmp/servo/src/rust-harfbuzz/harfbuzz.rc -o libharfbuzz.dummy
    make[1]: Leaving directory `/tmp/servo/build/src/rust-harfbuzz'
    RUSTFLAGS="-L ../mozjs/" CFLAGS="-I../mozjs/dist/include" \
                    make -C src/rust-mozjs
    make[1]: Entering directory `/tmp/servo/build/src/rust-mozjs'
    rustc -L ../mozjs/ /tmp/servo/src/rust-mozjs/js.rc -o libjs.dummy
    /tmp/servo/src/rust-mozjs/rust.rs:16:0: 16:8 error: expected item but found 'resource'
    /tmp/servo/src/rust-mozjs/rust.rs:16 resource rt_rsrc(self: {ptr: *JSRuntime}) {
                                        ^~~~~~~~
    make[1]: *** [libjs.dummy] Error 101
    make[1]: Leaving directory `/tmp/servo/build/src/rust-mozjs'
    make: *** [src/rust-mozjs/libmozjs.dummy] Error 2


Sorry about that; we're fixing this as I write this. We removed resources from the language recently; less is exponentially more.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: