Commit Graph

11 Commits

Author SHA1 Message Date
Alex Crichton
bef908a9b1 Add an option to "uglify" imports
This commit adds an option to "uglify" the wasm module's imports/exports so
those which are controlled by bindgen are renamed to a shorter (probably one
letter) names. This'll hopefully help cut down on both the wasm size slightly
and also the generated JS as the glue we're talking to wasm over won't require
such large names all the time.
2017-12-24 15:32:40 -08:00
Alex Crichton
6aacff6a80 Further optimize non-debug output
Remove a bunch of exception throws in favor of type casts in TypeScript and
remove some type assertions as well that TypeScript should uphold.
2017-12-20 13:24:18 -08:00
Alex Crichton
730ef1926e Enable the --declaration tsc argument 2017-12-20 08:25:45 -08:00
Alex Crichton
97957d98f1 Fix noUnusedParameters warning 2017-12-20 08:17:20 -08:00
Alex Crichton
85cdb51719 Generate TypeScript by default instead of JS
This is what's needed in the immediate future anyway, so let's do that!
2017-12-19 19:06:48 -08:00
Alex Crichton
946e5317fe Support passing JS objects through Rust 2017-12-19 09:25:41 -08:00
Alex Crichton
9eb63fd0df Try to fix tests on windows again 2017-12-18 16:35:04 -08:00
Alex Crichton
6593b5ef69 Classes are now working! 2017-12-18 14:31:01 -08:00
Alex Crichton
1b4f10217c Start handling strings 2017-12-14 21:55:21 -08:00
Alex Crichton
d2d9f6be11 Avoid registry/git repo updates in tests
Use the main lockfile as a template, also print out how long each
command takes.
2017-12-14 19:36:41 -08:00
Alex Crichton
2926e6e9f4 Initial commit 2017-12-14 19:31:01 -08:00