diff --git a/crates/cli/tests/cli_run.rs b/crates/cli/tests/cli_run.rs index 23b51a9090..a4b83e201d 100644 --- a/crates/cli/tests/cli_run.rs +++ b/crates/cli/tests/cli_run.rs @@ -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: &[], diff --git a/examples/platform-switching/zig-platform/rocLovesZig.roc b/examples/platform-switching/rocLovesZig.roc similarity index 64% rename from examples/platform-switching/zig-platform/rocLovesZig.roc rename to examples/platform-switching/rocLovesZig.roc index ad9bdfa733..fe838c5396 100644 --- a/examples/platform-switching/zig-platform/rocLovesZig.roc +++ b/examples/platform-switching/rocLovesZig.roc @@ -1,5 +1,5 @@ app "rocLovesZig" - packages { pf: "main.roc" } + packages { pf: "zig-platform/main.roc" } imports [] provides [main] to pf diff --git a/getting_started/linux_x86.md b/getting_started/linux_x86.md index d2f166bf25..7fffcfe88a 100644 --- a/getting_started/linux_x86.md +++ b/getting_started/linux_x86.md @@ -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 ``` diff --git a/getting_started/macos_apple_silicon.md b/getting_started/macos_apple_silicon.md index 7ab37dc29c..a3b294e3de 100644 --- a/getting_started/macos_apple_silicon.md +++ b/getting_started/macos_apple_silicon.md @@ -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 ``` diff --git a/getting_started/macos_x86.md b/getting_started/macos_x86.md index 61def33aa7..339f3e80e2 100644 --- a/getting_started/macos_x86.md +++ b/getting_started/macos_x86.md @@ -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 ``` diff --git a/getting_started/other.md b/getting_started/other.md index 2e4db190b1..70f01dd2e5 100644 --- a/getting_started/other.md +++ b/getting_started/other.md @@ -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