1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! The crate links into a program that is not wasm.
//!
//! A test is a program, so this file is the check itself: it takes the address
//! of each method that reaches a host function, which makes the linker resolve
//! every name behind them. An `extern` block that no `cfg` guards then fails
//! the run.
//!
//! The failure that this holds off is quiet on two platforms of three. A native
//! worm on windows reports nine unresolved symbols from `link.exe`, among them
//! `node_kind` and `take_str`, while linux and macos drop the code of a rule
//! and say nothing. Nothing in this workspace links `larvae-worm` either, so
//! `cargo build --all-targets` passed for as long as this test was absent.
use Node;