Skip to content

Instantly share code, notes, and snippets.

@kylewu
Created June 29, 2012 09:48
Show Gist options
  • Save kylewu/3016967 to your computer and use it in GitHub Desktop.
Save kylewu/3016967 to your computer and use it in GitHub Desktop.
Servo make error 3
[master][~/dev/servo/build]$ make check
make check -C src/rust-cocoa
./cocoa-test
running 2 tests
doSomething
nsapp: 4311798768
test base::test_custom_obj ... ok
test base::test_nsapp ... ok
result: ok. 2 passed; 0 failed; 0 ignored
make check -C src/rust-harfbuzz RUSTFLAGS="-L ../harfbuzz/src/.libs/"
./harfbuzz-test
running 0 tests
result: ok. 0 passed; 0 failed; 0 ignored
RUSTFLAGS="-L ../mozjs/" CFLAGS="-I../mozjs/dist/include" \
make check -C src/rust-mozjs
rustc -L ../mozjs/ /Users/wenbinwu/dev/servo/src/rust-mozjs/js.rc -o js-test --test
/Users/wenbinwu/dev/servo/src/rust-mozjs/rust.rs:165:29: 165:39 error: mismatched types: expected `[[jsapi::JSFunctionSpec]/@]/&<R0>` but found `[@[jsapi::JSFunctionSpec]/~]/~` (vector vs @-ptr)
/Users/wenbinwu/dev/servo/src/rust-mozjs/rust.rs:165 self.global_funcs += [specvec];
^~~~~~~~~~
error: aborting due to previous error
make[1]: *** [js-test] Error 101
make: *** [check-rust-mozjs] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment