Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue for RFC: Tweak the compiler's default linkage for dylibs #18499

Closed
nrc opened this issue Oct 31, 2014 · 1 comment
Closed

Tracking issue for RFC: Tweak the compiler's default linkage for dylibs #18499

nrc opened this issue Oct 31, 2014 · 1 comment

Comments

@nrc
Copy link
Member

nrc commented Oct 31, 2014

RFC PR: rust-lang/rfcs#404

@nrc
Copy link
Member Author

nrc commented Oct 31, 2014

bors added a commit that referenced this issue Nov 5, 2014
If a dylib is being produced, the compiler will now first check to see if it can
be created entirely statically before falling back to dynamic dependencies. This
behavior can be overridden with `-C prefer-dynamic`.

Due to the alteration in behavior, this is a breaking change. Any previous users
relying on dylibs implicitly maximizing dynamic dependencies should start
passing `-C prefer-dynamic` to compilations.

Closes #18499
[breaking-change]
lnicola pushed a commit to lnicola/rust that referenced this issue Dec 11, 2024
…unsafe

Since the `ManuallyDrop` it returns can be safely used to consume the `Arc`, which is can cause UB if done incorrectly. See rust-lang#18499.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant