Skip to content

Conversation

@mokurin000
Copy link

@mokurin000 mokurin000 commented Apr 19, 2025

This adds options to enable bulk memory, atomic operations and floating point number nontrapping convertion to int.

To poll futures using poll_promise, we must enable these options, or trunk build --release would fail.

Also, --enable-nontrapping-float-to-int seems needed even without poll_promise. It's likely from rust standard library.

    Finished `release` profile [optimized] target(s) in 0.19s
warning: the following packages contain code that will be rejected by a future version of Rust: eframe v0.31.1, js-sys v0.3.77, rfd v0.15.3, wasm-bindgen-futures v0.4.50, web-sys v0.3.77, web-time v1.1.0, winit v0.30.9
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.mul
  (local.get $34)
  (f64.const 5.9604644775390625e-08)
 )
)
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.add
  (local.get $34)
  (f64.mul
   (local.tee $36
    (f64.convert_i32_s
     (i32.trunc_sat_f64_s
      (f64.mul
       (local.get $34)
       (f64.const 5.9604644775390625e-08)
      )
     )
    )
   )
   (f64.const -16777216)
  )
 )
)
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $34)
)
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.mul
  (local.get $34)
  (f64.const 5.9604644775390625e-08)
 )
)
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.add
  (local.get $34)
  (f64.mul
   (local.tee $36
    (f64.convert_i32_s
     (i32.trunc_sat_f64_s
      (f64.mul
       (local.get $34)
       (f64.const 5.9604644775390625e-08)
      )
     )
    )
   )
   (f64.const -16777216)
  )
 )
)
[wasm-validator error in function 15] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $36)
)
[wasm-validator error in function 24] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $32
  (f32.add
   (f32.div
    (f32.mul
     (f32.convert_i32_u
      (i32.shr_u
       (local.get $5)
       (i32.const 24)
      )
     )
     (f32.convert_i32_u
      (i32.shr_u
       (local.tee $16
        (i32.load offset=12
         (local.get $21)
        )
       )
       (i32.const 24)
      )
     )
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 24] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $32
  (f32.add
   (f32.div
    (f32.mul
     (f32.convert_i32_u
      (i32.and
       (i32.shr_u
        (local.get $5)
        (i32.const 16)
       )
       (i32.const 255)
      )
     )
     (f32.convert_i32_u
      (i32.and
       (i32.shr_u
        (local.get $16)
        (i32.const 16)
       )
       (i32.const 255)
      )
     )
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 24] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $32
  (f32.add
   (f32.div
    (f32.mul
     (f32.convert_i32_u
      (i32.and
       (i32.shr_u
        (local.get $5)
        (i32.const 8)
       )
       (i32.const 255)
      )
     )
     (f32.convert_i32_u
      (i32.and
       (i32.shr_u
        (local.get $16)
        (i32.const 8)
       )
       (i32.const 255)
      )
     )
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 24] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $32
  (f32.add
   (f32.div
    (f32.mul
     (f32.convert_i32_u
      (i32.and
       (local.get $5)
       (i32.const 255)
      )
     )
     (f32.convert_i32_u
      (i32.and
       (local.get $16)
       (i32.const 255)
      )
     )
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 25] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_u
 (select
  (f64.const 15)
  (local.tee $27
   (select
    (f64.const 0)
    (local.tee $27
     (f64.ceil
      (call $5901
       (f64.div
        (local.tee $29
         (call $4202
          (local.get $1)
         )
        )
        (f64.abs
         (local.get $26)
        )
       )
      )
     )
    )
    (f64.lt
     (local.get $27)
     (f64.const 0)
    )
   )
  )
  (f64.gt
   (local.get $27)
   (f64.const 15)
  )
 )
)
[wasm-validator error in function 25] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.tee $21
  (call $2692
   (local.get $21)
  )
 )
)
[wasm-validator error in function 25] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $20)
)
[wasm-validator error in function 32] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $24
  (call $2692
   (f32.mul
    (local.tee $23
     (f32.add
      (call $4936
       (local.get $24)
       (f32.load offset=380
        (local.get $10)
       )
      )
      (f32.add
       (local.tee $22
        (f32.convert_i32_s
         (i32.extend8_s
          (i32.shr_u
           (local.get $6)
           (i32.const 16)
          )
         )
        )
       )
       (local.tee $21
        (f32.convert_i32_s
         (i32.shr_s
          (local.get $6)
          (i32.const 24)
         )
        )
       )
      )
     )
    )
    (f32.const 0.5)
   )
  )
 )
)
[wasm-validator error in function 32] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $25
  (call $2692
   (local.get $25)
  )
 )
)
[wasm-validator error in function 37] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load
  (local.tee $4
   (i32.load offset=48
    (local.get $3)
   )
  )
 )
)
[wasm-validator error in function 37] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load offset=8
  (local.get $4)
 )
)
[wasm-validator error in function 37] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load
  (i32.load offset=32
   (local.get $3)
  )
 )
)
[wasm-validator error in function 42] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.sub
  (f32.load offset=232
   (local.get $3)
  )
  (local.tee $21
   (f32.load offset=224
    (local.get $3)
   )
  )
 )
)
[wasm-validator error in function 42] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.sub
  (f32.load offset=236
   (local.get $3)
  )
  (local.tee $22
   (f32.load offset=228
    (local.get $3)
   )
  )
 )
)
[wasm-validator error in function 46] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $8
  (f32.mul
   (local.get $7)
   (f32.convert_i32_u
    (i32.load8_u offset=24
     (local.get $0)
    )
   )
  )
 )
)
[wasm-validator error in function 46] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $8
  (f32.mul
   (local.get $7)
   (f32.convert_i32_u
    (i32.load8_u offset=25
     (local.get $0)
    )
   )
  )
 )
)
[wasm-validator error in function 46] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $8
  (f32.mul
   (local.get $7)
   (f32.convert_i32_u
    (i32.load8_u offset=26
     (local.get $0)
    )
   )
  )
 )
)
[wasm-validator error in function 46] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $8
  (f32.mul
   (local.get $7)
   (f32.convert_i32_u
    (i32.load8_u offset=27
     (local.get $0)
    )
   )
  )
 )
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.tee $1
  (f64.reinterpret_i64
   (i64.or
    (i64.and
     (local.get $5)
     (i64.const 4503599627370495)
    )
    (i64.const 4710765210229538816)
   )
  )
 )
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.tee $1
  (f64.mul
   (f64.sub
    (local.get $1)
    (local.get $6)
   )
   (f64.const 16777216)
  )
 )
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 64] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 107] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 111] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $6)
)
[wasm-validator error in function 112] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_u
 (f64.mul
  (local.get $6)
  (local.get $7)
 )
)
[wasm-validator error in function 112] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_u
 (f64.mul
  (local.get $6)
  (call $2556
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 150] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $3)
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.tee $17
    (i32.add
     (local.get $3)
     (i32.const 16)
    )
   )
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.tee $16
    (i32.add
     (local.get $3)
     (i32.const 32)
    )
   )
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.tee $15
    (i32.add
     (local.get $3)
     (i32.const 48)
    )
   )
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $8)
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $3)
  )
 )
)
[wasm-validator error in function 155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 161] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (f32.mul
   (local.get $1)
   (local.get $15)
  )
 )
)
[wasm-validator error in function 164] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.mul
  (f32.load offset=60
   (local.get $0)
  )
  (call $4936
   (local.get $10)
   (local.get $9)
  )
 )
)
[wasm-validator error in function 165] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.sub
  (f32.load offset=56
   (local.get $0)
  )
  (local.tee $12
   (f32.load offset=48
    (local.get $0)
   )
  )
 )
)
[wasm-validator error in function 165] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.sub
  (f32.load offset=60
   (local.get $0)
  )
  (local.tee $13
   (f32.load offset=52
    (local.get $0)
   )
  )
 )
)
[wasm-validator error in function 166] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.ceil
  (local.get $3)
 )
)
[wasm-validator error in function 166] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $17)
)
[wasm-validator error in function 166] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.tee $19
  (f32.floor
   (local.tee $16
    (select
     (local.get $4)
     (local.tee $2
      (f32.add
       (local.get $4)
       (f32.mul
        (local.get $18)
        (local.tee $1
         (f32.sub
          (call $4935
           (f32.convert_i32_u
            (local.tee $11
             (i32.add
              (local.get $6)
              (i32.const 1)
             )
            )
           )
           (local.get $3)
          )
          (call $4936
           (f32.convert_i32_u
            (local.get $6)
           )
           (local.get $17)
          )
         )
        )
       )
      )
     )
     (local.tee $12
      (f32.lt
       (local.get $4)
       (local.get $2)
      )
     )
    )
   )
  )
 )
)
[wasm-validator error in function 166] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.tee $21
  (f32.ceil
   (local.tee $20
    (select
     (local.get $2)
     (local.get $4)
     (local.get $12)
    )
   )
  )
 )
)
[wasm-validator error in function 168] unexpected false: all used features should be allowed, on 
(i64.trunc_sat_f64_u
 (call $fimport$28
  (local.get $0)
 )
)
[wasm-validator error in function 185] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (f32.ceil
  (local.tee $16
   (f32.add
    (local.get $15)
    (f32.const 0.5)
   )
  )
 )
)
[wasm-validator error in function 190] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.mul
   (local.get $2)
   (f32.load
    (local.tee $12
     (i32.add
      (local.get $4)
      (i32.const 40)
     )
    )
   )
  )
 )
)
[wasm-validator error in function 190] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $20)
)
[wasm-validator error in function 190] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $19)
)
[wasm-validator error in function 190] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.mul
   (local.get $2)
   (local.get $18)
  )
 )
)
[wasm-validator error in function 201] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $4)
)
[wasm-validator error in function 201] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $4)
)
[wasm-validator error in function 201] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $4)
)
[wasm-validator error in function 201] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $4)
)
[wasm-validator error in function 205] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $21
  (f32.add
   (f32.mul
    (local.get $20)
    (f32.convert_i32_u
     (i32.shr_u
      (local.get $0)
      (i32.const 24)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 205] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $21
  (f32.add
   (f32.mul
    (local.get $20)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 16)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 205] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $21
  (f32.add
   (f32.mul
    (local.get $20)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 8)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 205] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $20
  (f32.add
   (f32.mul
    (local.get $20)
    (f32.convert_i32_u
     (i32.and
      (local.get $0)
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 222] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $0)
)
[wasm-validator error in function 228] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (f32.div
   (f32.mul
    (f32.load offset=36
     (local.get $2)
    )
    (f32.convert_i32_u
     (local.get $3)
    )
   )
   (local.tee $6
    (f32.load
     (local.get $5)
    )
   )
  )
 )
)
[wasm-validator error in function 228] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (f32.div
   (f32.mul
    (f32.load offset=36
     (local.get $2)
    )
    (f32.convert_i32_u
     (local.get $3)
    )
   )
   (local.get $6)
  )
 )
)
[wasm-validator error in function 292] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (local.tee $6
   (f32.mul
    (local.get $6)
    (local.get $18)
   )
  )
 )
)
[wasm-validator error in function 296] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $9)
)
[wasm-validator error in function 296] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (call $2556
  (f64.mul
   (f64.add
    (local.get $8)
    (local.get $0)
   )
   (f64.const 0.5)
  )
 )
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load offset=16
   (local.get $0)
  )
 )
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $9)
  )
 )
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $9)
  )
 )
)
[wasm-validator error in function 304] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 372] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (f32.add
  (f32.mul
   (local.get $0)
   (f32.const 1.4426950216293335)
  )
  (f32.load
   (i32.add
    (i32.shl
     (local.get $3)
     (i32.const 2)
    )
    (i32.const 2616656)
   )
  )
 )
)
[wasm-validator error in function 492] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $4)
  )
 )
)
[wasm-validator error in function 492] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $16)
)
[wasm-validator error in function 492] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $6)
  )
 )
)
[wasm-validator error in function 492] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $16)
)
[wasm-validator error in function 545] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $5)
  )
 )
)
[wasm-validator error in function 545] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $10)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load offset=16
   (local.get $0)
  )
 )
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $10)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load offset=48
   (local.get $0)
  )
 )
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $10)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $0)
  )
 )
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $12)
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (local.get $10)
 )
)
[wasm-validator error in function 567] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 773] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.floor
  (f32.sqrt
   (f32.sqrt
    (f32.mul
     (local.get $8)
     (f32.const 3)
    )
   )
  )
 )
)
[wasm-validator error in function 940] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.tee $5
  (f32.add
   (local.get $5)
   (f32.convert_i32_s
    (i32.extend16_s
     (local.get $2)
    )
   )
  )
 )
)
[wasm-validator error in function 968] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $10
  (f32.add
   (f32.mul
    (call $5830
     (f32.load
      (i32.add
       (local.get $3)
       (i32.shl
        (local.get $7)
        (i32.const 2)
       )
      )
     )
     (local.get $9)
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1019] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (local.get $3)
 )
)
[wasm-validator error in function 1019] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (local.get $5)
 )
)
[wasm-validator error in function 1019] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $2692
  (local.get $3)
 )
)
[wasm-validator error in function 1022] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $4
  (f32.add
   (f32.mul
    (local.tee $3
     (f32.load
      (local.get $0)
     )
    )
    (f32.convert_i32_u
     (i32.shr_u
      (local.get $2)
      (i32.const 24)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1022] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $4
  (f32.add
   (f32.mul
    (local.get $3)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $2)
       (i32.const 16)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1022] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $4
  (f32.add
   (f32.mul
    (local.get $3)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $2)
       (i32.const 8)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1022] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $3
  (f32.add
   (f32.mul
    (local.get $3)
    (f32.convert_i32_u
     (i32.and
      (local.get $2)
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1148] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.shr_u
      (local.get $0)
      (i32.const 24)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1148] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 16)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1148] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 8)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1148] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $1
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (local.get $0)
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1153] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.shr_u
      (local.get $0)
      (i32.const 24)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1153] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 16)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1153] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $2
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (i32.shr_u
       (local.get $0)
       (i32.const 8)
      )
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1153] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $1
  (f32.add
   (f32.mul
    (local.get $1)
    (f32.convert_i32_u
     (i32.and
      (local.get $0)
      (i32.const 255)
     )
    )
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1212] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $4)
)
[wasm-validator error in function 1220] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (local.tee $7
   (f32.load
    (local.get $1)
   )
  )
 )
)
[wasm-validator error in function 1220] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $6)
)
[wasm-validator error in function 1220] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.tee $4
    (i32.add
     (local.get $1)
     (i32.const -16)
    )
   )
  )
 )
)
[wasm-validator error in function 1314] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $0)
  )
 )
)
[wasm-validator error in function 1314] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $8)
)
[wasm-validator error in function 1314] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $7)
)
[wasm-validator error in function 1359] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $5)
  )
 )
)
[wasm-validator error in function 1359] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $11)
)
[wasm-validator error in function 1405] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $0)
  )
 )
)
[wasm-validator error in function 1405] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $8)
)
[wasm-validator error in function 1405] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $7)
)
[wasm-validator error in function 1425] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.load
   (local.get $1)
  )
 )
)
[wasm-validator error in function 1425] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $12)
)
[wasm-validator error in function 1446] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.load offset=24
  (local.get $3)
 )
)
[wasm-validator error in function 1447] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.load offset=24
  (local.get $3)
 )
)
[wasm-validator error in function 1448] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.load offset=24
  (local.get $3)
 )
)
[wasm-validator error in function 1488] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $7)
)
[wasm-validator error in function 1488] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $8)
)
[wasm-validator error in function 1488] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.mul
   (local.get $2)
   (local.get $10)
  )
 )
)
[wasm-validator error in function 1488] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (call $2692
  (f32.mul
   (local.get $2)
   (local.get $9)
  )
 )
)
[wasm-validator error in function 1507] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (f32.load offset=24
  (local.get $3)
 )
)
[wasm-validator error in function 1629] unexpected false: all used features should be allowed, on 
(i64.trunc_sat_f64_u
 (local.tee $6
  (f64.trunc
   (local.tee $5
    (call $4806
     (i32.const 2616004)
    )
   )
  )
 )
)
[wasm-validator error in function 1629] unexpected false: all used features should be allowed, on 
(i64.trunc_sat_f64_u
 (call $2556
  (f64.mul
   (f64.sub
    (local.get $5)
    (local.get $6)
   )
   (f64.const 1e6)
  )
 )
)
[wasm-validator error in function 1737] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $2)
)
[wasm-validator error in function 1783] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.get $2)
)
[wasm-validator error in function 1827] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $0
  (f32.add
   (f32.mul
    (local.get $0)
    (f32.const 3294.60009765625)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1827] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $0
  (f32.add
   (f32.add
    (f32.mul
     (call $5830
      (local.get $0)
      (f32.const 0.4166666567325592)
     )
     (f32.const 269.0249938964844)
    )
    (f32.const -14.024999618530273)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 1849] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load
  (local.tee $1
   (i32.load offset=8
    (local.get $2)
   )
  )
 )
)
[wasm-validator error in function 1849] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load offset=8
  (local.get $1)
 )
)
[wasm-validator error in function 1958] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.tee $4
  (f64.floor
   (local.get $1)
  )
 )
)
[wasm-validator error in function 2267] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (call $4936
  (f32.ceil
   (call $5830
    (f32.div
     (f32.add
      (f32.mul
       (local.tee $2
        (f32.sub
         (f32.add
          (f32.sub
           (f32.load offset=16
            (local.get $0)
           )
           (f32.mul
            (f32.load offset=24
             (local.get $0)
            )
            (f32.const 3)
           )
          )
          (f32.mul
           (f32.load offset=32
            (local.get $0)
           )
           (f32.const 3)
          )
         )
         (f32.load offset=40
          (local.get $0)
         )
        )
       )
       (local.get $2)
      )
      (f32.mul
       (local.tee $2
        (f32.sub
         (f32.add
          (f32.sub
           (f32.load offset=20
            (local.get $0)
           )
           (f32.mul
            (f32.load offset=28
             (local.get $0)
            )
            (f32.const 3)
           )
          )
          (f32.mul
           (f32.load offset=36
            (local.get $0)
           )
           (f32.const 3)
          )
         )
         (f32.load offset=44
          (local.get $0)
         )
        )
       )
       (local.get $2)
      )
     )
     (f32.mul
      (local.get $1)
      (f32.mul
       (local.get $1)
       (f32.const 432)
      )
     )
    )
    (f32.const 0.1666666716337204)
   )
  )
  (f32.const 1)
 )
)
[wasm-validator error in function 2395] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_u
 (local.tee $3
  (f32.add
   (f32.mul
    (f32.load offset=12
     (local.get $0)
    )
    (f32.const 255)
   )
   (f32.const 0.5)
  )
 )
)
[wasm-validator error in function 2434] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 2435] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 2552] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load
  (i32.load offset=8
   (local.get $2)
  )
 )
)
[wasm-validator error in function 2553] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (f64.load
  (i32.load offset=8
   (local.get $2)
  )
 )
)
[wasm-validator error in function 2795] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 2796] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 4023] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 4025] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 4030] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 4031] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f64_s
 (local.get $2)
)
[wasm-validator error in function 4103] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4138] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4151] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4153] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4155] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4328] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
[wasm-validator error in function 4350] unexpected false: all used features should be allowed, on 
(i32.trunc_sat_f32_s
 (local.get $1)
)
Fatal: error validating input

@mokurin000
Copy link
Author

@emilk
Hi! Could you take an review on this PR?
If trunk release build failure doesn't matter, I will close this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant