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

Implement libstd. #17

Closed
wants to merge 83 commits into from

Commits on Dec 29, 2020

  1. Prepare 1.50 beta

    Mark-Simulacrum committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    65e131e View commit details
    Browse the repository at this point in the history
  2. Update fulldeps test

    Mark-Simulacrum committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    d17ca57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57950a2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    483c1a8 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#80479 - Mark-Simulacrum:beta-next, r=Mark-Sim…

    …ulacrum
    
    [beta] Prepare 1.50 beta
    
    r? `@Mark-Simulacrum`
    bors committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    05b6023 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. Configuration menu
    Copy the full SHA
    bfceef0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48233ac View commit details
    Browse the repository at this point in the history
  3. Use package name for top-level directory in bare tarballs

    This fixes a bug introduced by rust-lang#79788.
    Mark-Simulacrum committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    31d03c4 View commit details
    Browse the repository at this point in the history
  4. Make recursion limit fatal in project

    This avoid the hang/oom from rust-lang#79714
    matthewjasper authored and Mark-Simulacrum committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    8da2799 View commit details
    Browse the repository at this point in the history
  5. Prevent caching projections in the case of cycles

    When normalizing a projection which results in a cycle, we would
    cache the result of `project_type` without the nested obligations
    (because they're not needed for inference). This would result in
    the nested obligations only being handled once in fulfill, which
    would avoid the cycle error.
    
    Fixes rust-lang#79714, a regresion from rust-lang#79305 caused by the removal of
    `get_paranoid_cache_value_obligation`.
    matthewjasper authored and Mark-Simulacrum committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    89164cd View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#80560 - Mark-Simulacrum:beta-next, r=Mark-Sim…

    …ulacrum
    
    [beta] backports
    
    This backports accepted PRs and switches to bootstrapping from the released compiler:
    
    * de-stabilize unsized raw ptr methods for Weak rust-lang#80422
    * Use package name for top-level directory in bare tarballs rust-lang#80397
    * Prevent caching normalization results with a cycle rust-lang#80246
    
    r? `@Mark-Simulacrum`
    bors committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    25b3db3 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

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

Commits on Jan 5, 2021

  1. Auto merge of rust-lang#80680 - flip1995:clippy_backport, r=Mark-Simu…

    …lacrum
    
    [beta] Clippy backport field_reassign_with_default fix
    
    cc `@ebroto` `@Manishearth`
    
    We had multiple complaints about this lint landing in stable 1.49 with a FP hit quite often in real world code. We want to backport the fix for this, so it already gets into 1.50. A stable backport is not warranted by this IMO.
    
    r? `@Mark-Simulacrum`
    bors committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    ff59982 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. [beta] Update cargo

    ehuss committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    914bed4 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Auto merge of rust-lang#80975 - ehuss:update-beta-cargo, r=Mark-Simul…

    …acrum
    
    [beta] Update cargo
    
    1 commits in 75d5d8cffe3464631f82dcd3c470b78dc1dda8bb..1a8df6a5196e4cad9a3956867e7e928f2bfaaba4
    2020-12-22 18:10:56 +0000 to 2021-01-12 20:10:42 +0000
    - [BETA] Fix `links` vars showing up for testing packages (rust-lang/cargo#9068)
    bors committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    ea20aa2 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Configuration menu
    Copy the full SHA
    78cd953 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#81201 - calebcartwright:beta, r=Mark-Simulacrum

    [beta] update RLS and rustfmt with backported rustfmt fix
    
    Refs rust-lang#81151 (comment)
    
    r? `@Mark-Simulacrum`
    
    cc `@Xanewok`
    bors committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    33b84bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    59b6b11 View commit details
    Browse the repository at this point in the history
  4. clean up control flow

    sfackler authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    2fe7ddc View commit details
    Browse the repository at this point in the history
  5. make check a bit more clear

    sfackler authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    e73125e View commit details
    Browse the repository at this point in the history
  6. clarify docs a bit

    sfackler authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    2eef2e2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    44a1f09 View commit details
    Browse the repository at this point in the history
  8. bootstrap: never delete the tarball temporary directory

    Files in the temporary directory are used by ./x.py install.
    pietroalbini authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    4e4636d View commit details
    Browse the repository at this point in the history
  9. bootstrap: change the dist outputs to GeneratedTarball

    The struct will allow to store more context on the generated tarballs.
    pietroalbini authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    14fa726 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    13cd768 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4050e27 View commit details
    Browse the repository at this point in the history
  12. Update mdbook

    ehuss authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    96a00a9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5a4852a View commit details
    Browse the repository at this point in the history
  14. Fix bugs; fix and add tests

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    9c4494c View commit details
    Browse the repository at this point in the history
  15. Handle pub(super)

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    2ea0fa5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    76d2603 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c73576a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c7a85ca View commit details
    Browse the repository at this point in the history
  19. Simplify loop and remove old debugging code

    Co-authored-by: Joshua Nelson <jyn514@gmail.com>
    2 people authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    0c127b3 View commit details
    Browse the repository at this point in the history
  20. Extract local variable

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    69e1722 View commit details
    Browse the repository at this point in the history
  21. Update find_nearest_parent_module

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    e9ae18d View commit details
    Browse the repository at this point in the history
  22. Remove FIXME

    Co-authored-by: Joshua Nelson <jyn514@gmail.com>
    2 people authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    8f0ce5d View commit details
    Browse the repository at this point in the history
  23. Small refactor

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    dc7eb41 View commit details
    Browse the repository at this point in the history
  24. Add note on panic behavior

    camelid authored and Mark-Simulacrum committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    0a3048d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6ec4c71 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d239ea6 View commit details
    Browse the repository at this point in the history
  27. Auto merge of rust-lang#81151 - Mark-Simulacrum:beta-next, r=Mark-Sim…

    …ulacrum
    
    [beta] backports
    
    This backports:
    
    *  Update RLS and Rustfmt rust-lang#81027
    *  bump rustfmt to v1.4.32 rust-lang#81093
    *  Fix handling of malicious Readers in read_to_end rust-lang#80895
    *  Fix broken ./x.py install rust-lang#80514
    *  Fix x.py install not working with relative prefix rust-lang#80797
    *  [security] Update mdbook rust-lang#80688
    *  rustdoc: Render visibilities succinctly rust-lang#80368
    
    r? `@ghost`
    bors committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    1cd0303 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Auto merge of rust-lang#81762 - pietroalbini:fix-install-msys2, r=m-o…

    …u-se
    
    CI: only copy python.exe to python3.exe if the latter does not exist
    
    We're copying the binary to make sure we can call `python3.exe` around, but it seems like the base image of GitHub Actions changed, copying the file before we do so. This PR changes the CI script to only copy the file if it doesn't already exist.
    
    r? `@m-ou-se`
    cc `@Mark-Simulacrum`
    bors authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    f86b143 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#81055 - matthewjasper:non-fatal-overflow, r=n…

    …ikomatsakis
    
    Make hitting the recursion limit in projection non-fatal
    
    This change was originally made in rust-lang#80246 to avoid future (effectively) infinite loop bugs in projections,
    but wundergraph relies on rustc recovering here.
    
    cc rust-lang#80953
    
    r? `@nikomatsakis`
    bors authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    567eb04 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#81532 - estebank:ice-ice-baby, r=pnkfelix

    Remove incorrect `delay_span_bug`
    
    The following code is supposed to compile
    
    ```rust
    use std::ops::BitOr;
    
    pub trait IntWrapper {
        type InternalStorage;
    }
    
    impl<T> BitOr for dyn IntWrapper<InternalStorage = T>
    where
        Self: Sized,
        T: BitOr + BitOr<Output = T>,
    {
        type Output = Self;
        fn bitor(self, _other: Self) -> Self {
            todo!()
        }
    }
    ```
    
    Before this change it would ICE. In rust-lang#70998 the removed logic was added
    to provide better suggestions, and the `delay_span_bug` guard was added
    to  protect against a potential logic error when returning traits. As it
    happens, there are cases, like the one above, where traits can indeed be
    returned, so valid code was being rejected.
    
    Fix (but not close) rust-lang#80207.
    m-ou-se authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    f6b8e2b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#81556 - nikomatsakis:forbidden-lint-groups-…

    …lint, r=pnkfelix
    
    introduce future-compatibility warning for forbidden lint groups
    
    We used to ignore `forbid(group)` scenarios completely. This changed in rust-lang#78864, but that led to a number of regressions (rust-lang#80988, rust-lang#81218).
    
    This PR introduces a future compatibility warning for the case where a group is forbidden but then an individual lint within that group is allowed. We now issue a FCW when we see the "allow", but permit it to take effect.
    
    r? ``@Mark-Simulacrum``
    m-ou-se authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    3b03446 View commit details
    Browse the repository at this point in the history
  5. [beta] Update cargo

    ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    d1eff4c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#81288 - camelid:fix-trait-item-vis, r=jyn514

    rustdoc: Fix visibility of trait and impl items
    
    Fixes rust-lang#81274.
    
    r? `@jyn514`
    jonas-schievink authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    7906dc0 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#81229 - m-ou-se:solaris-workaround, r=pietroa…

    …lbini
    
    Work around missing -dev packages in solaris docker image.
    
    This should hopefully make the `dist-various-2` docker build work again on CI, which is now blocking everything from getting merged.
    
    r? `@pietroalbini`
    bors authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    e364d4a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#81767 - exrook:layout-error-stability, r=Ma…

    …rk-Simulacrum
    
    Update LayoutError/LayoutErr stability attributes
    
    `LayoutError` ended up not making it into 1.49.0, updating the stability attributes to reflect that.
    
    I also pushed `LayoutErr` deprecation back a release to allow 2 releases before the deprecation comes into effect.
    
    This change should be backported to beta.
    m-ou-se authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    78e57dc View commit details
    Browse the repository at this point in the history
  9. Auto merge of rust-lang#81257 - pnkfelix:issue-80949-short-term-resol…

    …ution-via-revert-of-pr-78373, r=matthewjasper
    
    Revert 78373 ("dont leak return value after panic in drop")
    
    Short term resolution for issue rust-lang#80949.
    
    Reopen rust-lang#47949 after this lands.
    
    (We plan to fine-tune PR rust-lang#78373 to not run into this problem.)
    bors authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    eba5432 View commit details
    Browse the repository at this point in the history
  10. Rename panic_fmt lint to non_fmt_panic.

    m-ou-se authored and ehuss committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    fc81b7c View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Auto merge of rust-lang#81774 - ehuss:beta-backports, r=ehuss

    [beta] backports
    
    This backports:
    
    * CI: only copy python.exe to python3.exe if the latter does not exist rust-lang#81762
    * Make hitting the recursion limit in projection non-fatal rust-lang#81055
    * Remove incorrect `delay_span_bug` rust-lang#81532
    * introduce future-compatibility warning for forbidden lint groups rust-lang#81556
    * Update cargo rust-lang#81755
    * rustdoc: Fix visibility of trait and impl items rust-lang#81288
    * Work around missing -dev packages in solaris docker image. rust-lang#81229
    * Update LayoutError/LayoutErr stability attributes rust-lang#81767
    * Revert 78373 ("dont leak return value after panic in drop") rust-lang#81257
    * Rename `panic_fmt` lint to `non_fmt_panic` rust-lang#81729
    bors committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    2efd070 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. Configuration menu
    Copy the full SHA
    fe8e0c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94c439b View commit details
    Browse the repository at this point in the history
  3. this is 1.50.0 stable

    pietroalbini committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    2602fa0 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#81878 - pietroalbini:stable-1.50.0, r=pietroa…

    …lbini
    
    Rust 1.50.0 stable release
    
    This PR builds the artifacts for the 1.50.0 stable release, and:
    
    * Cherry-picks e4e460b to fix rust-lang#81208, as recommended in rust-lang#81337 (comment).
    * Backports the release notes of 1.49.0 and 1.50.0.
    
    r? `@ghost`
    cc `@rust-lang/release`
    bors committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    690501e View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. Configuration menu
    Copy the full SHA
    facc68d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7f4cce View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#81963 - pietroalbini:stable-1.50.0-pre2, r=pi…

    …etroalbini
    
    Rebuild 1.50.0 stable
    
    This PR rebuilds the 1.50.0 stable release with the following backport:
    
    *  bootstrap: Locate llvm-dwp based on llvm-config bindir rust-lang#81955
    
    cc `@rust-lang/release`
    bors committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    cb75ad5 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2021

  1. Configuration menu
    Copy the full SHA
    41927a1 View commit details
    Browse the repository at this point in the history
  2. Teach rustc about the Xtensa arch.

    MabezDev authored and kelnos committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    e05a6bc View commit details
    Browse the repository at this point in the history
  3. Teach rustc about the Xtensa call ABI.

    MabezDev authored and kelnos committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    0c11a48 View commit details
    Browse the repository at this point in the history
  4. Add some Xtensa targets

    ESP32, ESP8266 and a generic Xtensa target.
    MabezDev authored and kelnos committed Feb 13, 2021
    Configuration menu
    Copy the full SHA
    bc0e24c View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Make libstd compile.

    reitermarkus committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    dc4254e View commit details
    Browse the repository at this point in the history
  2. Delete ext/net.rs.

    reitermarkus committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    68c9626 View commit details
    Browse the repository at this point in the history
  3. Fix net.rs.

    reitermarkus committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    bc4e162 View commit details
    Browse the repository at this point in the history
  4. Fix target_family.

    reitermarkus committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    f10b293 View commit details
    Browse the repository at this point in the history
  5. Fix compilation.

    reitermarkus committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    adee687 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2021

  1. Configuration menu
    Copy the full SHA
    620c9d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6686577 View commit details
    Browse the repository at this point in the history
  3. Refactor Condvar.

    reitermarkus committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    de64fd9 View commit details
    Browse the repository at this point in the history
  4. Simplify process stubs.

    reitermarkus committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    94bdeff View commit details
    Browse the repository at this point in the history
  5. Use debug_assertions.

    reitermarkus committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    d045009 View commit details
    Browse the repository at this point in the history
  6. Update ned_fd.

    reitermarkus committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    b2c8c70 View commit details
    Browse the repository at this point in the history
  7. Revert some changes.

    reitermarkus committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    a44476a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2021

  1. Update formatting.

    reitermarkus committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    90ba40b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8304726 View commit details
    Browse the repository at this point in the history
  3. Fix whitespace.

    reitermarkus committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    c7379a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Fix Condvar.

    reitermarkus committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    5b30ae1 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. Configuration menu
    Copy the full SHA
    ca93ffd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1ec22f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9add941 View commit details
    Browse the repository at this point in the history