Skip to content

Commit 550b7b0

Browse files
committed
doc
1 parent 0e0b527 commit 550b7b0

3 files changed

Lines changed: 5 additions & 824 deletions

File tree

docs/TECHNICAL_DOCUMENTATION_WASM.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ cargo install wasm-pack
5656
cargo install wasm-bindgen-cli
5757
```
5858

59+
```bash
60+
rustup target add wasm32-unknown-unknown
61+
```
62+
5963
### 3.2 Build Commands
6064

6165
```bash
@@ -76,8 +80,7 @@ npm run prepack
7680
cargo build --release --features wasm --target wasm32-unknown-unknown
7781

7882
# 2. Generate JS bindings for web
79-
wasm-bindgen target/wasm32-unknown-unknown/release/seuif97.wasm \
80-
--out-dir pkg --target web
83+
wasm-bindgen ../../target/wasm32-unknown-unknown/release/seuif97.wasm --out-dir pkg --target web
8184

8285
# 3. Generate JS bindings for Node.js
8386
wasm-bindgen target/wasm32-unknown-unknown/release/seuif97.wasm \

src/common/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ pub mod constant;
44
pub mod property_id;
55
pub mod property_pairs;
66
pub mod region;
7-
//pub mod region_lazy;
8-
97
pub mod transport_further;
108

119
pub use self::boundaries::*;
1210
pub use self::constant::*;
1311
pub use self::property_id::*;
1412
pub use self::property_pairs::*;
1513
pub use self::region::*;
16-
//pub use self::region_lazy::*;
1714
pub use self::transport_further::*;

0 commit comments

Comments
 (0)