mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
don't use a global on the zig side (surgical linking can't do those yet)
This commit is contained in:
parent
92cc120c7f
commit
94cc2971a3
5 changed files with 43 additions and 24 deletions
|
@ -2817,10 +2817,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
|
|||
if env.mode.runs_expects() {
|
||||
bd.position_at_end(throw_block);
|
||||
|
||||
if let LlvmBackendMode::BinaryDev = env.mode {
|
||||
crate::llvm::expect::read_env_shared_buffer(env);
|
||||
}
|
||||
|
||||
match env.target_info.ptr_width() {
|
||||
roc_target::PtrWidth::Bytes8 => {
|
||||
clone_to_shared_memory(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue