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

Rollup of 3 pull requests #94477

Merged
merged 8 commits into from
Mar 1, 2022
Merged

Commits on Feb 25, 2022

  1. Test legacy mangling of bool, char and integer constants

    The existing v0 tests have been slightly adjusted for compatibility with
    legacy mangler, which requires an item to have an ancestor in a value
    namespace or a type namespace to produce a symbol for it. In v0 mangling
    this results in an extra `Nv` component.
    tmiasko committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    5ca9374 View commit details
    Browse the repository at this point in the history
  2. Test legacy type mangling

    tmiasko committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    f6634cc View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Fix inconsistent symbol mangling of integers constants with -Zverbose

    The `PrettyPrinter` changes formatting of array size and integer
    constants based on `-Zverbose`, so its implementation cannot be used in
    legacy symbol mangling.
    tmiasko committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    99a7779 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. 6 - Make more use of let_chains

    Continuation of rust-lang#94376.
    
    cc rust-lang#53667
    c410-f3r committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    fe94f78 View commit details
    Browse the repository at this point in the history
  2. ⬆️ rust-analyzer

    lnicola committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    276d5fe View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#94359 - tmiasko:legacy-verbose-const, r=pet…

    …rochenkov
    
    Fix inconsistent symbol mangling of integers constants with -Zverbose
    
    The `PrettyPrinter` changes formatting of array size and integer
    constants based on `-Zverbose`, so its implementation cannot be used in
    legacy symbol mangling.
    
    Example symbol demangling before changes:
    
    ```console
    $ cat a.rs
    pub struct A<T>(T);
    impl A<[u8; 128]> { pub fn f() {} }
    $ rustc --crate-type=lib a.rs -Zverbose=n && nm -C ./liba.rlib
    00000000 T a::A<[u8; 128]>::f
    $ rustc --crate-type=lib a.rs -Zverbose=y && nm -C ./liba.rlib
    00000000 T a::A<[u8; Const { ty. usize, val. Value(Scalar(0x0000000000000080)) }]>::f
    ```
    matthiaskrgr authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    c531b01 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#94465 - c410-f3r:more-let-chains, r=Dylan-DPC

    6 - Make more use of `let_chains`
    
    Continuation of rust-lang#94376.
    
    cc rust-lang#53667
    matthiaskrgr authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    a0baf25 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#94470 - lnicola:rust-analyzer-2022-03-01, r…

    …=lnicola
    
    ⬆️ rust-analyzer
    
    r? ``@ghost``
    matthiaskrgr authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    2091f2a View commit details
    Browse the repository at this point in the history