cranelift-wasm: Check for u32::MAX function indices (#1307)

As an implementation-specific limit, we do not allow the full index space of
`0..=2^32 - 1` because we reserve index `2^32 - 1` for ourselves in
`cranelift-entity`.

Fixes #1306
This commit is contained in:
Nick Fitzgerald
2019-12-21 13:37:42 -08:00
committed by Andrew Brown
parent cf9e762f16
commit c1c55607e1
2 changed files with 13 additions and 2 deletions