Skip to content

Commit

Permalink
Merge pull request #7216 from roc-lang/remove-prebuilt-platform-mentions
Browse files Browse the repository at this point in the history
remove mentions of --prebuilt-platform
  • Loading branch information
Anton-4 authored Nov 13, 2024
2 parents 8d54ef1 + 0ab04c0 commit 157aaae
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/build_basic_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ fi
./jump-start.sh

# build the basic cli platform
roc build.roc --prebuilt-platform
roc build.roc

cd ..
2 changes: 1 addition & 1 deletion ci/build_basic_webserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ cd ..

cd basic-webserver

roc build.roc --prebuilt-platform
roc build.roc

cd ..
2 changes: 1 addition & 1 deletion crates/compiler/build/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ fn gen_from_mono_module_dev_wasm32<'a>(

let host_bytes = std::fs::read(built_host_path).unwrap_or_else(|_| {
internal_error!(
"Failed to read host object file {}! Try omitting --prebuilt-platform",
"Failed to read host object file {}!",
built_host_path.display()
)
});
Expand Down
1 change: 0 additions & 1 deletion crates/packaging/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ fn nixos_error_if_dynamic(url: &str, dest_dir: &Path) {
You can:\n\n\t\
- Download the source of the platform and build it locally, like in this example:\n\t \
https://github.com/roc-lang/roc/blob/main/examples/platform-switching/rocLovesRust.roc.\n\t \
When building your roc application, you can use the flag `--prebuilt-platform` to prevent the platform from being rebuilt every time.\n\t \
For some graphical platforms you may need to use https://github.com/guibou/nixGL.\n\n\t\
- Contact the author of the platform to ask them to statically link their platform.\n\t \
musl can be used to prevent a dynamic dependency on the systems' libc.\n\t \
Expand Down

0 comments on commit 157aaae

Please sign in to comment.