mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 15:27:45 +03:00
move Zig example
This commit is contained in:
parent
6ccd00abf4
commit
bc7d62e94c
@ -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: &[],
|
||||
|
@ -1,5 +1,5 @@
|
||||
app "rocLovesZig"
|
||||
packages { pf: "main.roc" }
|
||||
packages { pf: "zig-platform/main.roc" }
|
||||
imports []
|
||||
provides [main] to pf
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user