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 9 pull requests #89330

Closed
wants to merge 44 commits into from

Commits on Aug 13, 2021

  1. Initial commit

    antoyo committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    afae271 View commit details
    Browse the repository at this point in the history
  2. Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18…

    …bc004bb6d1965a5f3f'
    
    git-subtree-dir: compiler/rustc_codegen_gcc
    git-subtree-mainline: ae90dcf
    git-subtree-split: afae271
    antoyo committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    f7237f1 View commit details
    Browse the repository at this point in the history
  3. Fix tidy

    antoyo committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    8841e9e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7132ce6 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2021

  1. Configuration menu
    Copy the full SHA
    0c89065 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fc0696 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2021

  1. Cleanup (rust-lang#67)

    antoyo committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    e228f0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d5d4e3 View commit details
    Browse the repository at this point in the history
  3. Empty gcc_path

    antoyo committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    6f50986 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87f8525 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2021

  1. Configuration menu
    Copy the full SHA
    5dad13c View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2021

  1. Implement basic inline asm support (rust-lang#72)

    * Implement basic support for inline assembly
    
    * Disable LTO
    
    We don't support it yet at all
    
    * Handle `inout(reg) var` correctly
    
    Turns out that `+` readwrite output registers cannot be tied with
    input variables.
    
    * Add limited support for llvm_asm!
    
    * Handle CHANNEL correctly
    
    * Add support for arbitrary explicit registers
    
    * Handle symbols properly
    
    * Add rudimentary asm tests
    
    * Exclude llvm_asm! tests from tests runs
    
    * Insert `__builtin_unreachable()` after diverging asm blocks
    Commeownist committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    7c707e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Remove FUNDING.yml

    antoyo committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    4d3dcd4 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. Configuration menu
    Copy the full SHA
    8ec7976 View commit details
    Browse the repository at this point in the history
  2. Update to nightly-2021-09-11 (rust-lang#79)

    * Implement `black_box` as intrinsic
    
    Responsibility of implementing the black box is now lies on backend
    
    * Remove some TODOs
    
    * Update to nightly-2021-09-17
    
    * CI: don't fail on warnings
    Commeownist committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    48d60ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df48731 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Configuration menu
    Copy the full SHA
    911ced0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7779eb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Configuration menu
    Copy the full SHA
    cedfa18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d08ff1 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2021

  1. Configuration menu
    Copy the full SHA
    0f4b616 View commit details
    Browse the repository at this point in the history
  2. Impove handling of registers in inline asm (rust-lang#82)

    * Correctly handle st(0) register in the clobbers list
    * Gate the clobbers based on enabled target features
    Commeownist committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    4e7e822 View commit details
    Browse the repository at this point in the history
  3. Fix global initialization (rust-lang#91)

    * Make define_global() return a RValue directly
    * Return LValue in functions declaring a global variable
    * Remove useless cast
    * Fix bytes_in_context to use an array rvalue
    * Remove global_names which is unused
    * Make const_struct create a constant struct
    * Correctly initialize global in static_addr_of_mut
    * Fix global variable initialization
    * Remove workaround for ARGV
    antoyo committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    64c561d View commit details
    Browse the repository at this point in the history
  4. Fix populate of union.impls

    Urgau committed Sep 26, 2021
    Configuration menu
    Copy the full SHA
    88ff75c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df687bd View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Link stage1 build to toolchain automatically

    Fixed types
    
    Add checks for rustup and if toolchain is linked
    
    Fortified rustup/directory checks; made other suggested changes
    
    Added check for output status
    
    Remove output of rustup from console
    
    Made suggested change
    
    Deleted confusing comment
    
    Fixed compiler error; removed extra declaration
    
    Refactored to smaller components; made suggested changes
    
    Automate toolchain linking for stage 1 builds
    Sl1mb0 committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    adbb608 View commit details
    Browse the repository at this point in the history
  2. Cleanup fix for global initialization (rust-lang#93)

    * Cleanup fix for global initialization
    * Remove linker script hack
    * Use v0 symbol mangling
    * Fix warnings
    antoyo committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ab4ff2d View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: kennytm <kennytm@gmail.com>
    yaahc and kennytm committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    0911069 View commit details
    Browse the repository at this point in the history
  4. Fix/mismatch types (rust-lang#94)

    * Refactor test.sh script
    
    * Fix mismatched types error
    antoyo committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    63608ac View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Fix/count trailing zeroes (rust-lang#95)

    * Fix count trailing zeroes
    * Fix pop count
    * Fix bit reverse
    antoyo committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    11c2023 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a09fb90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9809f5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f32dd5 View commit details
    Browse the repository at this point in the history
  5. Fix warnings (rust-lang#98)

    antoyo committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    cd4810d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90be409 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#87260 - antoyo:libgccjit-codegen, r=Mark-Si…

    …mulacrum
    
    Libgccjit codegen
    
    This PR introduces a subtree for a gcc-based codegen backend to the repository, per decision in rust-lang/compiler-team#442. We do not yet expect to ship this backend on nightly or run tests in CI, but we do verify that the backend checks (i.e., `cargo check`) successfully.
    
    Work is expected to progress primarily in https://github.com/rust-lang/rustc_codegen_gcc, with semi-regular upstreaming, like with other subtrees.
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    083b569 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89212 - Sl1mb0:xpy-toolchain-link, r=jyn514

    x.py: run `rustup toolchain link` in setup
    
    Addresses rust-lang#89206
    
    r? `@jyn514`
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    6edb5c0 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89232 - rossmacarthur:fix-76424, r=wesleywiser

    Improve help for recursion limit errors
    
    - Tweak help message and suggested limit (handle `0` case).
    - Add test for rust-lang#75602 (it was already fixed, maybe can be resolved too).
    
    Fixes rust-lang#76424
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    bc1dc08 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#89233 - FabianWolff:issue-89159, r=estebank

    Hide `<...> defined here` note if the source is not available
    
    Fixes rust-lang#89159. Similar to rust-lang#87088.
    
    r? `@estebank`
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    cbb4f92 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#89235 - yaahc:junit-formatting, r=kennytm

    make junit output more consistent with default format
    
    The default format of libtest includes new-lines between each section to ensure the label output from cargo is on it's own line
    
    <pre><font color="#A1B56C"><b>❯</b></font> <font color="#A1B56C">cargo</font><font color="#D8D8D8"> </font><font color="#A1B56C">test</font>
    <font color="#A1B56C"><b>   Compiling</b></font> test-test v0.1.0 (/home/jlusby/tmp/test-test)
    <font color="#A1B56C"><b>    Finished</b></font> test [unoptimized + debuginfo] target(s) in 0.59s
    <font color="#A1B56C"><b>     Running</b></font> unittests (target/debug/deps/test_test-639f369234319c09)
    
    running 1 test
    test tests::it_works ... <font color="#A1B56C">ok</font>
    
    test result: <font color="#A1B56C">ok</font>. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
    
    <font color="#A1B56C"><b>   Doc-tests</b></font> test-test
    
    running 0 tests
    
    test result: <font color="#A1B56C">ok</font>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
    
    </pre>
    
    But when the junit outputter was added to libtest these newlines were omitted, resulting in some "fun" output when run via cargo.
    
    Note the `Doc-tests` text at the end of the first line of xml.
    
    <pre><font color="#A1B56C"><b>❯</b></font> <font color="#A1B56C">cargo</font><font color="#D8D8D8"> </font><font color="#A1B56C">test</font><font color="#D8D8D8"> </font><font color="#A1B56C">--</font><font color="#D8D8D8"> </font><font color="#A1B56C">-Zunstable-options</font><font color="#D8D8D8"> </font><font color="#A1B56C">--format</font><font color="#D8D8D8"> </font><font color="#A1B56C">junit</font>
    <font color="#A1B56C"><b>    Finished</b></font> test [unoptimized + debuginfo] target(s) in 0.00s
    <font color="#A1B56C"><b>     Running</b></font> unittests (target/debug/deps/test_test-639f369234319c09)
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;testsuites&gt;&lt;testsuite name=&quot;test&quot; package=&quot;test&quot; id=&quot;0&quot; errors=&quot;0&quot; failures=&quot;0&quot; tests=&quot;1&quot; skipped=&quot;0&quot; &gt;&lt;testcase classname=&quot;tests&quot; name=&quot;it_works&quot; time=&quot;0&quot;/&gt;&lt;system-out/&gt;&lt;system-err/&gt;&lt;/testsuite&gt;&lt;/testsuites&gt;<font color="#A1B56C"><b>   Doc-tests</b></font> test-test
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;testsuites&gt;&lt;testsuite name=&quot;test&quot; package=&quot;test&quot; id=&quot;0&quot; errors=&quot;0&quot; failures=&quot;0&quot; tests=&quot;0&quot; skipped=&quot;0&quot; &gt;&lt;system-out/&gt;&lt;system-err/&gt;&lt;/testsuite&gt;&lt;/testsuites&gt;
    
    </pre>
    
    After this PR the junit output includes the same style of newlines as the pretty format
    
    <pre><font color="#A1B56C"><b>❯</b></font> <font color="#A1B56C">cargo</font><font color="#D8D8D8"> </font><font color="#A1B56C">test</font><font color="#D8D8D8"> </font><font color="#A1B56C">--</font><font color="#D8D8D8"> </font><font color="#A1B56C">-Zunstable-options</font><font color="#D8D8D8"> </font><font color="#A1B56C">--format</font><font color="#D8D8D8"> </font><font color="#A1B56C">junit</font>
    <font color="#A1B56C"><b>   Compiling</b></font> test-test v0.1.0 (/home/jlusby/tmp/test-test)
    <font color="#A1B56C"><b>    Finished</b></font> test [unoptimized + debuginfo] target(s) in 0.39s
    <font color="#A1B56C"><b>     Running</b></font> unittests (target/debug/deps/test_test-42c2320bb9450c69)
    
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;testsuites&gt;&lt;testsuite name=&quot;test&quot; package=&quot;test&quot; id=&quot;0&quot; errors=&quot;0&quot; failures=&quot;0&quot; tests=&quot;1&quot; skipped=&quot;0&quot; &gt;&lt;testcase classname=&quot;tests&quot; name=&quot;it_works&quot; time=&quot;0&quot;/&gt;&lt;system-out/&gt;&lt;system-err/&gt;&lt;/testsuite&gt;&lt;/testsuites&gt;
    
    <font color="#A1B56C"><b>   Doc-tests</b></font> test-test
    
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;testsuites&gt;&lt;testsuite name=&quot;test&quot; package=&quot;test&quot; id=&quot;0&quot; errors=&quot;0&quot; failures=&quot;0&quot; tests=&quot;0&quot; skipped=&quot;0&quot; &gt;&lt;system-out/&gt;&lt;system-err/&gt;&lt;/testsuite&gt;&lt;/testsuites&gt;
    
    </pre>
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    1019e6a View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#89255 - FabianWolff:issue-88806, r=cjgillot

    Fix incorrect disambiguation suggestion for associated items
    
    Fixes rust-lang#88806. I have not added a new test case, because the erroneous behavior is already present in existing test cases.
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    a5b0204 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#89276 - Urgau:fix-union-impls, r=GuillaumeG…

    …omez
    
    Fix the population of the `union.impls` field
    
    This pull-request fix the population of the `union.impls` field that was forgot when the `Union` type was introduce as a split from the `Struct` type rust-lang#81500.
    
    `@rustbot` label +T-rustdoc +A-rustdoc-json
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    15b2946 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#89283 - camelid:issue-83564-test, r=davidtwco

    Add regression test for issue rust-lang#83564
    
    cc rust-lang#83564
    
    r? `@davidtwco`
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    fd89811 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#89318 - petrochenkov:lstore, r=oli-obk

    rustc_session: Remove lint store from `Session`
    
    It was added in rust-lang#75534, but after the cleanup in rust-lang#87070 it's no longer necessary.
    GuillaumeGomez committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    771d22d View commit details
    Browse the repository at this point in the history