Stream: contributing

Topic: repl test fail


view this post on Zulip Folkert de Vries (Oct 16 2022 at 12:46):

Can someone reproduce the repl tests failing on the roc-dev-inline-expects, run:

cargo test -p repl_test

PR: https://github.com/roc-lang/roc/pull/4220

view this post on Zulip Folkert de Vries (Oct 16 2022 at 12:46):

this is blocking inline expects, and the repl test work fine on my machine

view this post on Zulip Ayaz Hafiz (Oct 16 2022 at 13:21):

running 118 tests
Undefined symbols for architecture arm64:
  "_roc_getppid", referenced from:
      _roc_builtins.utils.expect_failed_finalize in app.o
      _roc_builtins.utils.read_env_shared_buffer in app.o
  "_roc_mmap", referenced from:
      _roc_builtins.utils.read_env_shared_buffer in app.o
  "_roc_send_signal", referenced from:
      _roc_builtins.utils.expect_failed_finalize in app.o
  "_roc_shm_open", referenced from:
      _roc_builtins.utils.read_env_shared_buffer in app.o

view this post on Zulip Ayaz Hafiz (Oct 16 2022 at 13:21):

did you run cargo build before the repl tests? That is needed because we can't add a bin dependency for the tests yet

view this post on Zulip Folkert de Vries (Oct 16 2022 at 13:38):

I did now and they still continue to work. I'm guessing that on linux missing symbols are just fine? anyway guess I'll need to stub those functions in the llvm codegen


Last updated: Jul 06 2025 at 12:14 UTC