0xd4d
2b128288c7
Add ability to rename enums (js_name = new_name) ( #2071 )
...
* Add ability to rename enums (js_name = new_name)
* Add a test
2020-04-13 09:14:41 -05:00
Alex Crichton
9224455077
Support Option
with custom enums in JS
...
Find a hole automatically to use a sentinel value for `None`, and then
just wire everything up!
Closes #1198
2019-01-28 14:27:57 -08:00
Alex Crichton
7ecf4aae87
cargo +nightly fmt --all
...
Rustfmt all the things!
2018-09-26 08:26:00 -07:00
Alex Crichton
d5b81595ec
Remove support for the version
attribute
...
First added in #161 this never ended up panning out, so let's remove the
experimental suport which isn't actually used by anything today and hold off on
any other changes until an RFC happens.
2018-08-06 13:30:28 -05:00
Anton Danilkin
654bb9b683
Port tests that use only basic features
2018-08-04 22:25:29 -05:00