Skip to content

Commit b0cafef

Browse files
make cairo1-run cli require std feature
1 parent 32a2f6c commit b0cafef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ jobs:
848848

849849
- name: Build wasm-demo-cairo1
850850
run: |
851+
./cairo1/bin/cairo-compile -r cairo_programs/cairo-1-programs/bitwise.cairo cairo_programs/cairo-1-programs/bitwise.sierra
851852
cd examples/wasm-demo-cairo1
852853
wasm-pack build --target=web
853854

cairo1-run/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ getrandom = { version = "0.2.16", features = ["js"]}
3232
default = ["std"]
3333
mod_builtin = ["cairo-vm/mod_builtin"]
3434
std = ["cairo-vm/std"]
35+
36+
[[bin]]
37+
name = "cairo1-run"
38+
path = "./src/main.rs"
39+
required-features = ["std"]

0 commit comments

Comments
 (0)