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 5 pull requests #98781

Merged
merged 16 commits into from
Jul 2, 2022
Merged

Commits on May 30, 2022

  1. Configuration menu
    Copy the full SHA
    6557985 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07596fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8db8cc View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Allow dynamically linking against libLLVM on macOS

    Create symlinks to workaround file missing error in llvm-config
    topjohnwu committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    b6e28b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    a518b3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f6ce7d View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. rustdoc: fix 98690

    pinkforest committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    6565509 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    f44ae98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca0105b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12ab6bf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6711313 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#97249 - GuillaumeGomez:details-summary-fixe…

    …s, r=notriddle
    
    `<details>`/`<summary>` UI fixes
    
    With images it's easier to understand:
    
    ![Screenshot from 2022-05-21 14-10-42](https://user-images.githubusercontent.com/3050060/169653038-9c58de67-589a-4986-a8ff-dbdddaf136a4.png)
    ![Screenshot from 2022-05-21 14-08-49](https://user-images.githubusercontent.com/3050060/169653042-56e87258-13fe-4f80-9858-4e15c318c3fb.png)
    
    The headings in `<summary>` should not have bottom border so I removed it as well alongside the other fixes.
    
    r? `@jsha`
    GuillaumeGomez authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    194764f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#98418 - topjohnwu:macos-dylib, r=jyn514

    Allow macOS to build LLVM as shared library
    
    Inspired by how [homebrew](https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/llvm.rb) builds and distributes llvm, here we manually create a symlink with a versioned dylib path to make `llvm-config` work properly. Note, the resulting `rustc` executable and `librustc_driver-<hash>.dylib` still links to the un-versioned `libLLVM.dylib` as expected when distributed in the final output. I have confirmed this by checking `otool -L` on both binaries.
    
    After the change, enabling `llvm.link-shared` and `llvm.thin-lto` will be possible on macOS.
    GuillaumeGomez authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    01aa10c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#98460 - GuillaumeGomez:css-simplification, …

    …r=jsha
    
    Use CSS variables to handle theming
    
    This is the start for our simplification of theming. Considering how big the diff quickly becomes, I think it's better to do it in multiple parts.
    
    (The 3 first commits come from rust-lang#98297 so once it's merged, they'll disappear).
    
    Normally they shouldn't be any UI changes. You can check it [here](https://rustdoc.crud.net/imperio/css-simplification/doc/foo/index.html).
    
    cc `@notriddle`
    r? `@jsha`
    GuillaumeGomez authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    bda659e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#98497 - compiler-errors:span-inference-note…

    …, r=lcnr
    
    Improve some inference diagnostics
    
    - Properly point out point location where "type must be known at this point", or else omit the note if it's not associated with a useful span.
    - Fix up some type ambiguity diagnostics, errors shouldn't say "cannot infer type for reference `&'a ()`" when the given type has no inference variables.
    GuillaumeGomez authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    b0935b1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#98708 - pinkforest:rustdoc-fix-98690, r=Gui…

    …llaumeGomez
    
    rustdoc: fix 98690 Panic if invalid path for -Z persist-doctests
    
    Closes rust-lang#98690 for rustdoc panic
    
    I changed this to do eprintln and orderly panic instead of unwrap doing unhandled panic
    
    ~/gg/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc --test -Z unstable-options --persist-doctests /tmp/foobar main.rs
    Couldn't create directory for doctest executables: Permission denied (os error 13)
    GuillaumeGomez authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    00d68a7 View commit details
    Browse the repository at this point in the history