| ... | ... | @@ -6,7 +6,8 @@ pub const linkage: std.builtin.GlobalLinkage = if (builtin.is_test) .Internal el |
| 6 | 6 | /// Determines the symbol's visibility to other objects. |
| 7 | 7 | /// For WebAssembly this allows the symbol to be resolved to other modules, but will not |
| 8 | 8 | /// export it to the host runtime. |
| 9 | | pub const visibility: std.builtin.SymbolVisibility = if (builtin.target.isWasm()) .hidden else .default; |
| 9 | pub const visibility: std.builtin.SymbolVisibility = |
| 10 | if (builtin.target.isWasm() and linkage != .Internal) .hidden else .default; |
| 10 | 11 | pub const want_aeabi = switch (builtin.abi) { |
| 11 | 12 | .eabi, |
| 12 | 13 | .eabihf, |