Merge pull request #7137 from roc-lang/dylib-error

improved dylib error
This commit is contained in:
Anton-4 2024-10-02 12:36:01 +02:00 committed by GitHub
commit 15dc028d4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ pub fn eval_llvm(
))]
let (lib, main_fn_name, subs, layout_interner) =
mono_module_to_dylib_asm(&arena, target, loaded, opt_level)
.expect("we produce a valid Dylib");
.expect("We failed to produce a valid Dylib.\nTIP: if you're on macos, try this:\n\t<https://github.com/roc-lang/roc/issues/5797#issuecomment-1786105269>");
let mut app = CliApp { lib };