Uh oh!
There was an error while loading. Please reload this page.
Remove in-tree flate/getopts crates - #42664
Conversation
rust-highfive
commented
Jun 14, 2017
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
Mark-Simulacrum
commented
Jun 14, 2017
We can also remove miniz.c from the COPYRIGHT file, I think. |
aidanhs
commented
Jun 15, 2017
Travis failed: |
alexcrichton
commented
Jun 15, 2017
Should be updated now |
bors
commented
Jun 16, 2017
☔ The latest upstream changes (presumably #42410) made this pull request unmergeable. Please resolve the merge conflicts. |
alexcrichton
commented
Jun 16, 2017
Rebased |
eddyb
commented
Jun 16, 2017
@bors r+ |
bors
commented
Jun 16, 2017
📌 Commit 9881c23 has been approved by |
bors
commented
Jun 17, 2017
⌛ Testing commit 9881c23 with merge 21bb1c7... |
bors
commented
Jun 17, 2017
💔 Test failed - status-travis |
Mark-Simulacrum
commented
Jun 17, 2017
I think we might be trying to put one of these crates into the rust-src component. |
alexcrichton
commented
Jun 17, 2017
@bors: r=eddyb |
bors
commented
Jun 17, 2017
📌 Commit f53f838 has been approved by |
bors
commented
Jun 18, 2017
⌛ Testing commit f53f8387ae21bd786194927d1ba9ace1e14855e9 with merge 864ee9a733032b38db6755cb511b7733556b88fd... |
bors
commented
Jun 18, 2017
💔 Test failed - status-appveyor |
bors
commented
Jun 18, 2017
☔ The latest upstream changes (presumably #42676) made this pull request unmergeable. Please resolve the merge conflicts. |
bors
commented
Jun 20, 2017
📌 Commit 2218774 has been approved by |
bors
commented
Jun 20, 2017
⌛ Testing commit 22187747ac777ec7e6554bc0a421560bc5e22495 with merge 67aeea3f6f38497f18bcb11e08166f82a5f7b778... |
bors
commented
Jun 20, 2017
💔 Test failed - status-appveyor |
kennytm
commented
Jun 20, 2017
|
This commit deletes the in-tree `getopts` crate in favor of the crates.io-based `getopts` crate. The main difference here is with a new builder-style API, but otherwise everything else remains relatively standard.
alexcrichton
commented
Jun 20, 2017
@bors: r=eddyb |
bors
commented
Jun 20, 2017
📌 Commit 5c3d0e6 has been approved by |
bors
commented
Jun 21, 2017
Remove in-tree flate/getopts crates Remove `src/libflate` in favor of `flate2` on crates.io and `src/libgetopts` in favor of `getopts` on crates.io. The replacements have slightly different APIs and the usage in the compiler has been updated to reflect this. This uncovered an unfortunate limitation of the compiler today to deal with linking everything correctly, and the workaround can be found documented in `src/librustc/Cargo.toml`.
bors
commented
Jun 21, 2017
☀️ Test successful - status-appveyor, status-travis |
A bit late here, maybe I should have made an issue. Is using the "Default" compression level intended? the flate functions were changed to use a faster compression level some time ago (see #37298), going back to a higher compression setting may cause some performance regressions. Also, the old functions didn't use a zlib wrapper from what I can see, but the new code seems to. Don't know if this could cause some issues when trying to use libs from different versions, though at least it adds 6 bytes of overhead due to the header and checksum. |
Mark-Simulacrum
commented
Jun 22, 2017
I'd file a new issue with those concerns (they seem good to address to me) since merged/closed PRs are low-visibility locations. |
This was attempted but left incomplete in PR rust-lang#42664, where only the toml file was removed.
…lexcrichton Remove getopts leftover from tree This was attempted but left incomplete in PR rust-lang#42664, where only the toml file was removed. cc @alexcrichton
…lexcrichton Remove getopts leftover from tree This was attempted but left incomplete in PR rust-lang#42664, where only the toml file was removed. cc @alexcrichton
…lexcrichton Remove getopts leftover from tree This was attempted but left incomplete in PR rust-lang#42664, where only the toml file was removed. cc @alexcrichton
Remove
src/libflatein favor offlate2on crates.io andsrc/libgetoptsin favor ofgetoptson crates.io. The replacements have slightly different APIs and the usage in the compiler has been updated to reflect this.This uncovered an unfortunate limitation of the compiler today to deal with linking everything correctly, and the workaround can be found documented in
src/librustc/Cargo.toml.