mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
get expect-fx to actually run
This commit is contained in:
parent
6c77ee2c00
commit
3aa4ebb02f
8 changed files with 122 additions and 63 deletions
|
@ -199,10 +199,6 @@ impl LlvmBackendMode {
|
|||
LlvmBackendMode::CliTest => true,
|
||||
}
|
||||
}
|
||||
|
||||
fn runs_expects_in_separate_process(self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Env<'a, 'ctx, 'env> {
|
||||
|
@ -2802,16 +2798,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
|
|||
lookups,
|
||||
);
|
||||
|
||||
// NOTE: signals to the parent process that an expect failed
|
||||
if env.mode.runs_expects_in_separate_process() {
|
||||
let func = env
|
||||
.module
|
||||
.get_function(bitcode::UTILS_EXPECT_FAILED_FINALIZE)
|
||||
.unwrap();
|
||||
|
||||
bd.build_call(func, &[], "call_expect_finalize_failed");
|
||||
}
|
||||
|
||||
bd.build_unconditional_branch(then_block);
|
||||
}
|
||||
roc_target::PtrWidth::Bytes4 => {
|
||||
|
@ -2874,16 +2860,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
|
|||
lookups,
|
||||
);
|
||||
|
||||
// NOTE: signals to the parent process that an expect failed
|
||||
if env.mode.runs_expects_in_separate_process() {
|
||||
let func = env
|
||||
.module
|
||||
.get_function(bitcode::UTILS_EXPECT_FAILED_FINALIZE)
|
||||
.unwrap();
|
||||
|
||||
bd.build_call(func, &[], "call_expect_finalize_failed");
|
||||
}
|
||||
|
||||
bd.build_unconditional_branch(then_block);
|
||||
}
|
||||
roc_target::PtrWidth::Bytes4 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue