Commit 0744262
authored
Fix no_std builds on supported targets (#11568)
This commit fixes a conditional in Wasmtime's build script from
accidentally considering Unix and Windows targets as being a supported
OS with all the bells and whistles. This is only true if the `std`
feature is also active. When `std` is disabled the `custom`
implementation of OS primitives is used instead meaning that it
shouldn't be automatically assumed signals/virtual memory are available.
Resolves a build issue found [on Zulip].
[on Zulip]: https://bytecodealliance.zulipchat.com/#narrow/channel/217126-wasmtime/topic/.E2.9C.94.20pulley32.20on.20x86_64-unknown-linux-gnu1 parent 9d12c5c commit 0744262
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments