Comments (4)
Yes, apologies, I should have explained. After many failed attempts with this error, I did the following:
brew install llvm
cargo clean
AR=/usr/local/opt/llvm/bin/llvm-ar CC=/usr/local/opt/llvm/bin/clang wasm-pack build
Not sure if its related, but I also installed secp256k1
via bitcoin-core
here: [email protected]:bitcoin-core/secp256k1.git
Some combination of this seemed to resolve the error: failed to build archive: section too large
referenced in rust-bitcoin/rust-secp256k1#283. I do not have an M1, but I think specifying AR
and CC
in the command instead of exporting to the env via zshrc or bashrc resolved this problem.
However, I'm now facing new errors, but those look to be with the rust code, so I'll open a new issue :)
from sapio.
Found a solution. You can close this issue.
from sapio.
yay!
what was the fix?
from sapio.
export SKIP_WASM_BUILD=1
worked for me :)
from sapio.
Related Issues (20)
- Replace serde-json with a canoncial json library which can support floats? HOT 5
- simplify amount_range / Amount* structs to a sane default? HOT 5
- Make bind_psbt function use SIMPs, not mock outputs, for adding inputs HOT 6
- no_std support for sapio modules? HOT 2
- take advantage of new workspace hierarchies to split out "sapio core" workspace from host stuff HOT 2
- reproducible builds for WASM modules
- Consistent & Clear terminology clean up
- Defining "Packages" / "Bundles"
- Redefine the core module return type to flatten/deduplicate some data
- Fix broken CI
- Revert removal of cross module validation
- Add Emulation for other Covenant Primitives? HOT 2
- Test max contract depths/recursion limits, potentially "flatten" computations.
- Stop Directly Constructing Policy AST HOT 5
- macros and inferred types
- Context/Template type parameter?
- Avoid Feature Flags unless absolutely required
- Rework sapio-contrib & examples
- Runnable Examples in Book
- Any plans for supporting ordinals? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapio.