Skip to content

Commit d249eb6

Browse files
make requested changes
1 parent bb9ac8b commit d249eb6

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

cairo1-run/fibonacci.cairo

Lines changed: 0 additions & 17 deletions
This file was deleted.

examples/wasm-demo-cairo1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ To compile and run the example you need:
2323
To build the example, first compile your Cairo 1.x program:
2424

2525
```sh
26-
cairo1/bin/cairo-compile -r ./bitwise.cairo bitwise.sierra
26+
../../cairo1/bin/cairo-compile -r ./bitwise.cairo bitwise.sierra
2727
```
28-
> It's important to use the `-r` flag. If not, the `main`function won't be recognized.
28+
29+
> It's important to use the `-r` flag. If not, the `main` function won't be recognized.
2930
3031
And then the WebAssembly package:
3132

examples/wasm-demo-cairo1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn run_cairo_program() -> Result<String, JsError> {
3434
..Default::default()
3535
};
3636

37-
// using cairo-lang 1.1.1 and ../caigo-programs/cairo-1-programs/bitwise.cairo
37+
// using cairo-lang 1.1.1 and wasm-demo-cairo1/bitwise.sierra
3838
let sierra_program = match serde_json::from_slice(include_bytes!("../bitwise.sierra")) {
3939
Ok(sierra) => sierra,
4040
Err(_) => {

0 commit comments

Comments
 (0)