File tree Expand file tree Collapse file tree 5 files changed +8
-31
lines changed Expand file tree Collapse file tree 5 files changed +8
-31
lines changed Original file line number Diff line number Diff line change @@ -135,20 +135,3 @@ pub fn oom() -> ! {
135135 // allocate.
136136 unsafe { core:: intrinsics:: abort ( ) }
137137}
138-
139- // FIXME(#14344): When linking liballoc with libstd, this library will be linked
140- // as an rlib (it only exists as an rlib). It turns out that an
141- // optimized standard library doesn't actually use *any* symbols
142- // from this library. Everything is inlined and optimized away.
143- // This means that linkers will actually omit the object for this
144- // file, even though it may be needed in the future.
145- //
146- // To get around this for now, we define a dummy symbol which
147- // will never get inlined so the stdlib can call it. The stdlib's
148- // reference to this symbol will cause this library's object file
149- // to get linked in to libstd successfully (the linker won't
150- // optimize it out).
151- #[ doc( hidden) ]
152- #[ unstable( feature = "issue_14344_fixme" ) ]
153- #[ cfg( stage0) ]
154- pub fn fixme_14344_be_sure_to_link_to_collections ( ) { }
Original file line number Diff line number Diff line change @@ -133,13 +133,6 @@ pub mod btree_set {
133133 pub use btree:: set:: * ;
134134}
135135
136-
137- // FIXME(#14344) this shouldn't be necessary
138- #[ doc( hidden) ]
139- #[ unstable( feature = "issue_14344_fixme" ) ]
140- #[ cfg( stage0) ]
141- pub fn fixme_14344_be_sure_to_link_to_collections ( ) { }
142-
143136#[ cfg( not( test) ) ]
144137mod std {
145138 pub use core:: ops; // RangeFull
Original file line number Diff line number Diff line change @@ -979,23 +979,20 @@ impl ops::Index<ops::RangeFull> for String {
979979 }
980980}
981981
982- #[ cfg( not( stage0) ) ]
983982#[ stable( feature = "derefmut_for_string" , since = "1.2.0" ) ]
984983impl ops:: IndexMut < ops:: Range < usize > > for String {
985984 #[ inline]
986985 fn index_mut ( & mut self , index : ops:: Range < usize > ) -> & mut str {
987986 & mut self [ ..] [ index]
988987 }
989988}
990- #[ cfg( not( stage0) ) ]
991989#[ stable( feature = "derefmut_for_string" , since = "1.2.0" ) ]
992990impl ops:: IndexMut < ops:: RangeTo < usize > > for String {
993991 #[ inline]
994992 fn index_mut ( & mut self , index : ops:: RangeTo < usize > ) -> & mut str {
995993 & mut self [ ..] [ index]
996994 }
997995}
998- #[ cfg( not( stage0) ) ]
999996#[ stable( feature = "derefmut_for_string" , since = "1.2.0" ) ]
1000997impl ops:: IndexMut < ops:: RangeFrom < usize > > for String {
1001998 #[ inline]
Original file line number Diff line number Diff line change @@ -6535,8 +6535,4 @@ pub mod funcs {
65356535 }
65366536}
65376537
6538- #[ doc( hidden) ]
6539- #[ cfg( stage0) ]
6540- pub fn issue_14344_workaround ( ) { } // FIXME #14344 force linkage to happen correctly
6541-
65426538#[ test] fn work_on_windows ( ) { } // FIXME #10872 needed for a happy windows
Original file line number Diff line number Diff line change 1+ S 2015-07-17 d4432b3
2+ linux-i386 93f6216a35d3bed3cedf244c9aff4cd716336bd9
3+ linux-x86_64 d8f4967fc71a153c925faecf95a7feadf7e463a4
4+ macos-i386 29852c4d4b5a851f16d627856a279cae5bf9bd01
5+ macos-x86_64 1a20259899321062a0325edb1d22990f05d18708
6+ winnt-i386 df50210f41db9a6f2968be5773b8e3bae32bb823
7+ winnt-x86_64 d7774b724988485652781a804bdf8e05d28ead48
8+
19S 2015-05-24 ba0e1cd
210 bitrig-x86_64 2a710e16e3e3ef3760df1f724d66b3af34c1ef3f
311 freebsd-x86_64 370db40613f5c08563ed7e38357826dd42d4e0f8
You can’t perform that action at this time.
0 commit comments