-
-
Notifications
You must be signed in to change notification settings - Fork 15k
global_allocator does not work with -C prefer-dynamic #100781
Copy link
Copy link
Open
Labels
-Cprefer-dynamicCodegen option: Prefer dynamic linking to static linking.Codegen option: Prefer dynamic linking to static linking.A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsA-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
-Cprefer-dynamicCodegen option: Prefer dynamic linking to static linking.Codegen option: Prefer dynamic linking to static linking.A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsA-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Could not find anything related to this online. Using
RUSTFLAGS="-C prefer-dynamic" cargo runon this does not panic.Meta
rustc --version --verbose: