Uh oh!
There was an error while loading. Please reload this page.
Remove obsolete --disable-elf-tls configure switch. - #41687
Conversation
rust-highfive
commented
May 1, 2017
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
rillian
commented
May 1, 2017
Per #32047, this switch isn't connected to anything any more. In #30678 (comment)@alexcrichton asked that the switch remain available to avoid breaking anyone's build scripts. That was over a year ago though, and in particular I know we no longer need this for Gecko, so I think it's less confusing to remove it at this point. |
Support for disabling ELF-style thread local storage in the standard library at configure time was removed in pulls rust-lang#30417 and rust-lang#30678, in favour of a member in the TargetOptions database. The new method respects MACOSX_DEPLOYMENT_TARGET on macOS, addressing the original use case for this configure option. However, those commits left the configure option itself in place. It's no longer referenced anywhere and can be removed.
aturon
commented
May 4, 2017
Note that @alexcrichton, in that comment, also suggested a deprecation warning (which is our usual practice before removal). AFAIK no such warning was implemented? This is largely a policy question, so I'd like to bring in @rust-lang/compiler for their thoughts as well. (I don't personally have a strong opinion here.) |
alexcrichton
commented
May 4, 2017
I doubt anyone ever really used this much less even knew about it, I don't think we need much ceremony to remove it personally, it's a tiny option when building rust that's easy to remove if it even needs to be. |
aturon
commented
May 4, 2017
@bors: r+ rollup |
bors
commented
May 4, 2017
📌 Commit 19cab63 has been approved by |
bors
commented
May 4, 2017
⌛ Testing commit 19cab63 with merge 222971f... |
Remove obsolete --disable-elf-tls configure switch. Support for disabling ELF-style thread local storage in the standard library at configure time was removed in pulls #30417 and #30678, in favour of a member in the TargetOptions database. The new mentod respects MACOSX_DEPLOYMENT_TARGET on macOS, addressing the original use case for this configure optionl However, those commits left the configure option itself in place. It's no longer referenced anywhere and can be removed.
bors
commented
May 4, 2017
☀️ Test successful - status-appveyor, status-travis |
rillian
commented
May 4, 2017
Thanks @aturon, @alexcrichton. I didn't implement a deprecation warning because the functionality was already broken. Anyone who was setting this in a build script wasn't getting what they expected anyway. |
Support for disabling ELF-style thread local storage in
the standard library at configure time was removed in
pulls #30417 and #30678, in favour of a member in
the TargetOptions database. The new mentod respects
MACOSX_DEPLOYMENT_TARGET on macOS, addressing the
original use case for this configure optionl
However, those commits left the configure option itself
in place. It's no longer referenced anywhere and can
be removed.