stdweb
stdweb copied to clipboard
A standard library for the client-side Web
Sending a string literal to panic does not print the payload in the console. E.g `panic!("My error");` Whereas it does print the message if a String is used. E.g `panic!(String::from("My...
Hi im just trying to compile the following with stdweb ``` #[macro_use] extern crate stdweb; fn main() { let message = "Hello, WASM"; js! { console.log( @{message} ) } }...
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...
I tried running the wasm-bindgen-minimal example and got this error: ``` Error loading Rust wasm module 'wasm_bindgen_minimal': TypeError: Import module '__wbindgen_placeholder__' is invalid 0: Import module '__wbindgen_placeholder__' is invalid wasm-bindgen-minimal.js...
Lets assume I have a C library compiled to wasm with emscripten. With javascript I can call into C ABI using `Module.ccall('function_name')`. I did not test wrapping hat into a...
This would fix (or make unnecessary) brendanzab/gl-rs#528, which was an attempt to fix `webgl_stdweb` compiling under `wasm-pack`/`wasm-bindgen`. It was giving me these kind of errors: ``` ❯ cargo c --target...
like title
Bumps [static-eval](https://github.com/browserify/static-eval) from 2.0.0 to 2.1.0. Release notes Sourced from static-eval's releases. v2.1.0 Add allowAccessToMethodsOnFunctions option to restore 1.x behaviour so that cwise can upgrade. (@archmoj in #31) Do not...
anyone has tried this or knows why? I tried to render some objects with random colors, and I created a vec of colors where I store the random color I...