Revert "WIP fix for zig functions returning Bool (strEqual)"

This reverts commit 09b01893c6.
This commit is contained in:
Folkert 2023-04-08 16:11:12 +02:00
parent 09b01893c6
commit 9dd69f6f9c
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
7 changed files with 12 additions and 51 deletions

View file

@ -1371,7 +1371,7 @@ fn issue_2445() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
#[cfg(any(feature = "gen-llvm"))]
fn issue_2458() {
assert_evals_to!(
indoc!(
@ -2010,7 +2010,7 @@ fn unify_types_with_fixed_fixpoints_outside_fixing_region() {
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn lambda_set_with_imported_toplevels_issue_4733() {
assert_evals_to!(
indoc!(
@ -2032,23 +2032,6 @@ fn lambda_set_with_imported_toplevels_issue_4733() {
);
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn fooba() {
assert_evals_to!(
indoc!(
r#"
app "test" provides [main] to "./platform"
main : Bool
main = "*" == "*"
"#
),
1,
u64
);
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn non_unary_union_with_lambda_set_with_imported_toplevels_issue_4733() {

View file

@ -210,7 +210,7 @@ pub fn helper(
let builtins_host_tempfile =
roc_bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
if true {
if false {
std::fs::copy(&app_o_file, "/tmp/app.o").unwrap();
}