move Zig example

This commit is contained in:
Bryce Miller 2022-08-31 14:09:34 -04:00
parent 6ccd00abf4
commit bc7d62e94c
No known key found for this signature in database
GPG Key ID: F1E97BF8DF152350
6 changed files with 6 additions and 6 deletions

View File

@ -434,7 +434,7 @@ mod cli_run {
expected_ending:"Roc <3 Web Assembly!\n",
use_valgrind: true,
},
platformSwitchingZig:"platform-switching/zig-platform" => Example {
platformSwitchingZig:"platform-switching" => Example {
filename: "rocLovesZig.roc",
executable_filename: "rocLovesZig",
stdin: &[],

View File

@ -1,5 +1,5 @@
app "rocLovesZig"
packages { pf: "main.roc" }
packages { pf: "zig-platform/main.roc" }
imports []
provides [main] to pf

View File

@ -40,7 +40,7 @@
# Note: If you installed Rust in this terminal session, you'll need to open a new one first!
./roc examples/platform-switching/rocLovesRust.roc
./roc examples/platform-switching/zig-platform/rocLovesZig.roc
./roc examples/platform-switching/rocLovesZig.roc
./roc examples/platform-switching/rocLovesC.roc
```

View File

@ -36,7 +36,7 @@
# Note: If you installed rust in this terminal session, you'll need to open a new one first!
./roc examples/platform-switching/rocLovesRust.roc
./roc examples/platform-switching/zig-platform/rocLovesZig.roc
./roc examples/platform-switching/rocLovesZig.roc
./roc examples/platform-switching/rocLovesC.roc
```

View File

@ -36,7 +36,7 @@
# Note: If you installed rust in this terminal session, you'll need to open a new one first!
./roc examples/platform-switching/rocLovesRust.roc
./roc examples/platform-switching/zig-platform/rocLovesZig.roc
./roc examples/platform-switching/rocLovesZig.roc
./roc examples/platform-switching/rocLovesC.roc
```

View File

@ -10,7 +10,7 @@
cargo run examples/platform-switching/rocLovesRust.roc
# This requires installing the Zig compiler, too.
cargo run examples/platform-switching/zig-platform/rocLovesZig.roc
cargo run examples/platform-switching/rocLovesZig.roc
# This requires installing the `clang` C compiler, too.
cargo run examples/platform-switching/rocLovesC.roc