mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Merge remote-tracking branch 'origin/main' into repl
This commit is contained in:
commit
c03dc17ab4
197 changed files with 5171 additions and 2946 deletions
|
@ -10,6 +10,7 @@ crate-type = ["cdylib"]
|
|||
|
||||
[build-dependencies]
|
||||
roc_builtins = {path = "../compiler/builtins"}
|
||||
roc_utils = {path = "../utils"}
|
||||
wasi_libc_sys = { path = "../wasi-libc-sys" }
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
# Our website deployment script downloads that zipfile and copies the files into www/build/repl/
|
||||
# We use this two-step process because Netlify times out if we try to build the Web REPL there.
|
||||
|
||||
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
||||
set -euxo pipefail
|
||||
|
||||
if ! which wasm-pack
|
||||
|
|
|
@ -20,7 +20,7 @@ fn main() {
|
|||
let platform_obj = build_wasm_platform(&out_dir, &source_path);
|
||||
|
||||
let mut pre_linked_binary_path = PathBuf::from(std::env::var("OUT_DIR").unwrap());
|
||||
pre_linked_binary_path.extend(&["pre_linked_binary"]);
|
||||
pre_linked_binary_path.extend(["pre_linked_binary"]);
|
||||
pre_linked_binary_path.set_extension("o");
|
||||
|
||||
let output = Command::new(&zig_executable())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue