about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-09-05 11:55:20 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-09-05 11:55:20 -0700
commitbb9d3bea30c354fecca5dae735bec62962fc5e4c (patch)
treef2c0a4d0faecd5ffb8d23e3ef697d7826ade9d6c /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parent618768492f0c731fcb770dc2d178abe840846419 (diff)
downloadrust-bb9d3bea30c354fecca5dae735bec62962fc5e4c.tar.gz
rust-bb9d3bea30c354fecca5dae735bec62962fc5e4c.zip
rustc: Allow the cdylib crate type with wasm32-wasi
The wasm32-wasi target respects configuration around `crt-static` in
general, but is defaulted to being static. This interacted badly with
code which validated the `cdylib` crate type for `wasm32-wasi`,
erroneously saying that the `cdylib` crate type wasn't supported on
`wasm32-wasi` by default. This commit sets the appropriate flag in
`wasm32_wasi`'s target specification to indicate that the `cdylib` crate
type is supported regardless of `crt-static`

Closes #64187
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions