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

stabilize combining +bundle and +whole-archive link modifiers #113301

Merged
merged 1 commit into from
Sep 29, 2023

Commits on Aug 15, 2023

  1. stabilize combining +bundle and +whole-archive link modifiers

    Currently, combining +bundle and +whole-archive works only with
     #![feature(packed_bundled_libs)]
    This crate feature is independent of the -Zpacked-bundled-libs
    command line option.
    
    This commit stabilizes the #![feature(packed_bundled_libs)] crate
    feature and implicitly enables it only when the +bundle and
    +whole-archive link modifiers are combined. This allows rlib
    crates to use the +whole-archive link modifier with native
    libraries and have all symbols included in the linked library
    to be included in downstream staticlib crates that use the rlib as
    a dependency. Other cases requiring the packed_bundled_libs
    behavior still require the -Zpacked-bundled-libs command line
    option, which can be stabilized independently in the future.
    
    Per discussion on rust-lang#108081
    there is no risk of regression stabilizing the crate feature in
    this way because the combination of +bundle,+whole-archive link
    modifiers was previously not allowed.
    Be-ing committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    72e29da View commit details
    Browse the repository at this point in the history