You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/wasm/rust/README.md
+14-2
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,24 @@
2
2
# WASM Example
3
3
4
4
To run this example, cd into this folder and run:
5
+
5
6
`wasm-pack build`
7
+
6
8
then open a new terminal and cd to the `js` folder (next to this one) and follow the instructions in the README there.
7
9
8
-
### Note
10
+
Note: you will need to install wasm-pack if you don't have it (see below)
11
+
12
+
### Note for Mac
13
+
14
+
To build successfully on mac required installing llvm with homebrew (even though there's a default version) https://github.com/bitcoindevkit/bdk/issues/1671#issuecomment-2456858895
15
+
16
+
To resolve this we point to llvm in .cargo and .vscode folders.
17
+
18
+
### Non Mac
19
+
20
+
You may need to remove the pointers to llvm or point them to the appropriate location.
21
+
9
22
10
-
to build successfully on mac required installing llvm with homebrew (even though there's a default version) https://github.com/bitcoindevkit/bdk/issues/1671#issuecomment-2456858895
0 commit comments