Alex Crichton
acb5eac96a
Bump to 0.2.6
2018-04-26 19:14:09 -07:00
J. Ryan Stinnett
11e274b477
Add spans
feature to control proc-macro2
...
Using `proc-macro2`'s `nightly` feature is a good default for most use cases.
However, it causes a build error if used together with crates such as
`cssparser` that also use `proc-macro2` from a build script.
This change adds a default enabled feature `spans` that users can disable if
they need to work around this conflict.
Fixes #160 .
2018-04-25 14:42:21 -05:00
Alex Crichton
947386ee57
Add an example of a minimal wasm module
2018-04-20 22:38:22 -07:00
Alex Crichton
3b4bf475be
Bump to 0.2.5
2018-04-19 18:46:41 -07:00
Alex Crichton
748184ae66
Work with #![no_std]
contexts
...
This commit adds support for both `#![no_std]` in the wasm-bindgen runtime
support (disabled by default with an on-by-default `std` feature). This also
adds support to work and compile in the context of `#![no_std]` crates.
Closes #146
2018-04-19 13:24:30 -07:00
Alex Crichton
574e54a89d
Add an example of --no-modules
in action
2018-04-19 07:21:09 -07:00
Alex Crichton
055a8fb803
Bump to 0.2.4
2018-04-18 07:18:11 -07:00
Alex Crichton
c74230b4a9
Bump to 0.2.3
2018-04-17 13:07:43 -07:00
Nikolay Volf
ebc03d19b5
Should be ok with crates.io version
2018-04-17 22:27:46 +03:00
Alex Crichton
1424c4987d
Branch was merged quickly!
2018-04-17 11:51:55 -07:00
Alex Crichton
9a6a15f605
Fix compilation and support on 32-bit targets
2018-04-17 11:42:10 -07:00
Alex Crichton
eb9a6524b9
Bump to 0.2.2
2018-04-13 07:50:24 -07:00
Alex Crichton
d1a4bffb3a
Looks like opt-level=s may be better
...
With opt-level=z not enough functions were inlined to eliminate more code!
2018-04-10 07:41:40 -07:00
Alex Crichton
656d69816d
Move all tests to the same suite
...
Nowadays the compile times are mitigated with incremental compilation and
otherwise it's much more ergonomic to run only one test if they're all in the
same suite.
2018-04-09 15:32:06 -07:00
Alex Crichton
60ac57331b
Bump to 0.2.1
2018-04-09 15:18:39 -07:00
Alex Crichton
a3e5485b86
Add examples/documentation for closures
2018-04-09 14:34:21 -07:00
Alex Crichton
176060cc8a
Aggressively optimize for size in release mode
2018-04-09 14:34:21 -07:00
Alex Crichton
30b1964255
Bump all crates to 0.2
2018-04-03 07:10:07 -07:00
Nick Fitzgerald
393841779a
Rename directories to remove "wasm-bindgen-" prefix in sub-crates
2018-03-29 08:28:25 -07:00
Alex Crichton
4716752991
Add an example of namespaced APIs
...
By creating wasm modules from Rust!
2018-03-22 17:39:48 -07:00
Alex Crichton
b00f8c5a28
Add an example of the performance
API
2018-03-21 10:21:21 -07:00
Alex Crichton
758bb3c2c3
Add an example using Math
2018-03-21 10:03:40 -07:00
Alex Crichton
dd054fa357
Add an example of DOM access
2018-03-21 08:26:00 -07:00
Alex Crichton
eebe23649a
Compile in release mode with LTO on
...
Should help get some nice size savings!
2018-03-20 15:27:45 -07:00
Alex Crichton
d8e5930799
Add an example of console.log
...
Also clean up some other exampels
2018-03-09 10:25:48 -08:00
Alex Crichton
f58c436f77
Prep work for the 0.1 release
2018-03-05 20:24:35 -08:00
Alex Crichton
4ebb3df330
Add a smorgasboard example
2018-03-02 20:19:39 -08:00
Alex Crichton
4aa6793b9e
Rewrite the README using Webpack
...
Right now Webpack probably has the most mature support for loading wasm modules,
so let's show off how to do that! Additionally this commits hello world as an
example to the repository.
2018-03-02 20:12:00 -08:00
Alex Crichton
83a2b314b2
Disable test for lib/doctest, there are none!
2018-02-02 08:10:48 -08:00
Alex Crichton
6593b5ef69
Classes are now working!
2017-12-18 14:31:01 -08:00
Alex Crichton
2926e6e9f4
Initial commit
2017-12-14 19:31:01 -08:00