File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ See the examples directory in this project.
61
61
## Code of conduct
62
62
63
63
Anyone who interacts with this project in any space, including but not limited to
64
- this GitHub repository, must follow our [ code of conduct] ( https://github.com/tomhoule/graphql-client/blob/master/CODE_OF CONDUCT .md ) .
64
+ this GitHub repository, must follow our [ code of conduct] ( https://github.com/tomhoule/graphql-client/blob/master/CODE_OF_CONDUCT .md ) .
65
65
66
66
## License
67
67
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name = "call_from_js"
3
3
version = " 0.1.0"
4
4
authors = [
" Tom Houlé <[email protected] >" ]
5
5
6
+ [profile .release ]
7
+ lto = " thin"
8
+
6
9
[lib ]
7
10
crate-type = [" cdylib" ]
8
11
@@ -15,4 +18,4 @@ serde_json = "1.0.22"
15
18
lazy_static = " 1.0.1"
16
19
17
20
[workspace ]
18
- members = [" ." ]
21
+ members = [" ." ]
Original file line number Diff line number Diff line change 1
1
set -ex
2
2
3
- cargo +nightly build --target wasm32-unknown-unknown
3
+ export CARGO_INCREMENTAL=0
4
+
5
+ cargo +nightly build --target wasm32-unknown-unknown --release
4
6
5
7
wasm-bindgen \
6
- ../../ target/wasm32-unknown-unknown/debug /call_from_js.wasm --out-dir .
8
+ ./ target/wasm32-unknown-unknown/release /call_from_js.wasm --out-dir .
7
9
8
10
npm install
9
11
npm run serve
You can’t perform that action at this time.
0 commit comments