functions marked with #[no_mangle]
cannot be GC-ed on MacOS
#139744
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
O-apple
Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)
regression-untriaged
Untriaged performance or correctness regression.
Code
I tried this code:
I expected to see this happen: it builds
Instead, this happened: it emits linker errors
Version it worked on
1.86.0
Version with regression
nightly-2025-02-26; bisects to #133832
The text was updated successfully, but these errors were encountered: