Move Rust example

This commit is contained in:
Bryce Miller 2022-08-31 13:21:53 -04:00
parent 459faac064
commit ec548d9143
No known key found for this signature in database
GPG Key ID: F1E97BF8DF152350
6 changed files with 6 additions and 6 deletions

View File

@ -410,7 +410,7 @@ mod cli_run {
// expected_ending:"Roc <3 C!\n",
// use_valgrind: true,
// },
platformSwitchingRust:"platform-switching/rust-platform" => Example {
platformSwitchingRust:"platform-switching" => Example {
filename: "rocLovesRust.roc",
executable_filename: "rocLovesRust",
stdin: &[],

View File

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

View File

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

View File

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

View File

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

View File

@ -7,7 +7,7 @@
1. Run examples:
```sh
cargo run examples/platform-switching/rust-platform/rocLovesRust.roc
cargo run examples/platform-switching/rocLovesRust.roc
# This requires installing the Zig compiler, too.
cargo run examples/platform-switching/zig-platform/rocLovesZig.roc