-
Notifications
You must be signed in to change notification settings - Fork 178
Description
Probably a simple error, I'm trying to use stdweb with:
`extern crate stdweb;
pub fn main() {
stdweb::initialize();
}
`
I end up getting the error :
error: linking with
cc` failed: exit code: 1 ......
= note: Undefined symbols for architecture x86_64:
"emscripten_asm_const_int", referenced from:
stdweb::webcore::initialization::initialize::h4c8e9303822f5ec1 in libstdweb-310da87d7f95429a.rlib(stdweb-310da87d7f95429a.stdweb4.rust-cgu.o)
stdweb::webcore::initialization::initialize::
_$LT$stdweb..webcore..value..Reference$u20$as$u20$core..ops..drop..Drop$GT$::drop::h41b8da88f774e14b in libstdweb-310da87d7f95429a.rlib(stdweb-310da87d7f95429a.stdweb0.rust-cgu.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`
I have installed x86_64-apple-darwin on a 64-bit MacOS. New to rust, any help will be appreciated.
Thanks