mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
fix static assert
This commit is contained in:
parent
f8021fb449
commit
da89152fef
2 changed files with 2 additions and 3 deletions
|
@ -435,8 +435,7 @@ impl Constraints {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static_assertions::assert_eq_size!([u8; 4 * 8], Constraint);
|
static_assertions::assert_eq_size!([u8; 3 * 8], Constraint);
|
||||||
static_assertions::assert_eq_size!([u8; 3 * 8 + 4], LetConstraint);
|
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub enum Constraint {
|
pub enum Constraint {
|
||||||
|
|
|
@ -1039,7 +1039,7 @@ fn load<'a>(
|
||||||
) -> Result<LoadResult<'a>, LoadingProblem<'a>> {
|
) -> Result<LoadResult<'a>, LoadingProblem<'a>> {
|
||||||
// When compiling to wasm, we cannot spawn extra threads
|
// When compiling to wasm, we cannot spawn extra threads
|
||||||
// so we have a single-threaded implementation
|
// so we have a single-threaded implementation
|
||||||
if cfg!(target_family = "wasm") {
|
if true || cfg!(target_family = "wasm") {
|
||||||
load_single_threaded(
|
load_single_threaded(
|
||||||
arena,
|
arena,
|
||||||
load_start,
|
load_start,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue