-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update extern linking documentation #127908
Conversation
In particular, remove the note saying cdylibs can't link against dylibs — that hasn't been true for over four years. * 2019-11-07: note is written: rust-lang@b54e8ec * 2020-01-23: restriction is lifted (without updating docs): rust-lang@72aaa3a
rustbot has assigned @GuillaumeGomez. Use |
Looks good to me but let's set someone from the compiler team as reviewer. r? compiler |
r? jieyouxu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the correction, this looks to be accurate as we do have a test for it: https://github.com/rust-lang/rust/blob/b01a977b0737e177f9b03949b908c250020d0119/tests/run-make/cdylib-dylib-linkage/Makefile (shuffled around from src/test/run-make-fulldeps/cdylib-dylib-linkage/Makefile
introduced by the original commit that lifted this restriction).
@bors r+ rollup |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#124881 (Use ThreadId instead of TLS-address in `ReentrantLock`) - rust-lang#127656 (make pub_use_of_private_extern_crate show up in cargo's future breakage reports) - rust-lang#127748 (Use Option's discriminant as its size hint) - rust-lang#127854 (Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`) - rust-lang#127908 (Update extern linking documentation) - rust-lang#127919 (Allow a git command for getting the current branch in bootstrap to fail) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127908 - fasterthanlime:patch-1, r=jieyouxu Update extern linking documentation In particular, remove the note saying cdylibs can't link against dylibs — that hasn't been true for over four years. * 2019-11-07: note is written: rust-lang@b54e8ec * 2020-01-23: restriction is lifted (without updating docs): rust-lang@72aaa3a
In particular, remove the note saying cdylibs can't link against dylibs — that hasn't been true for over four years.