File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
branches/try2/src/libcore Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 57f3b6ee5c7c3261592342118b05b93409e285ce
8
+ refs/heads/try2: 82a8a5ebb3b3c34cd135da511641a9df28e2c30e
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // As noted by this file name, this file should not exist. This file should not
12
+ // exist because it performs allocations which libcore is not allowed to do. The
13
+ // reason for this file's existence is that the `~[T]` and `~str` types are
14
+ // language-defined types. Traits are defined in libcore, such as `Clone`, which
15
+ // these types need to implement, but the implementation can only be found in
16
+ // libcore.
17
+ //
18
+ // Plan of attack for solving this problem:
19
+ //
20
+ // 1. Implement DST
21
+ // 2. Make `Box<T>` not a language feature
22
+ // 3. Move `Box<T>` to a separate crate, liballoc.
23
+ // 4. Implement relevant trais in liballoc, not libcore
24
+ //
25
+ // Currently, no progress has been made on this list.
26
+
11
27
use char:: Char ;
12
28
use clone:: Clone ;
13
29
use container:: Container ;
You can’t perform that action at this time.
0 commit comments