Skip to content

Commit 6fdcef2

Browse files
committed
---
yaml --- r: 14607 b: refs/heads/try c: dafd649 h: refs/heads/master i: 14605: 490fa9f 14603: 67d4bfa 14599: dd7e547 14591: b754f0a v: v3
1 parent 21345f7 commit 6fdcef2

File tree

9 files changed

+1271
-14
lines changed

9 files changed

+1271
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 87c14f1e3d85751bffffda0b1920be5e726172c4
5+
refs/heads/try: dafd6498063231e2ab01575a949fcb067c404c04
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/etc/libc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <stdio.h>
1111
#include <stdlib.h>
1212
#include <limits.h>
13+
#include <wchar.h>
1314

1415
/* c99 */
1516
#include <inttypes.h>
@@ -53,6 +54,8 @@ void c95_types() {
5354
put_type("clock_t", clock_t);
5455
put_type("time_t", time_t);
5556

57+
put_type("wchar_t", wchar_t);
58+
5659
printf(" }\n");
5760
}
5861

branches/try/src/libcore/core.rc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ mod to_str;
8282
// Runtime and language-primitive support
8383

8484
mod libc;
85+
86+
// Rename when transition done.
87+
#[path = "os.rs"]
88+
mod new_os;
89+
mod path;
90+
8591
mod ctypes;
8692
mod math;
8793
mod cmath;

branches/try/src/libcore/core.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Top-level, visible-everywhere definitions.
22

3-
// Export type option as a synonym for option and export the some and none
4-
// enum constructors.
3+
// Export various ubiquitous types, constructors, methods.
54

65
import option::{some, none};
76
import option = option::t;
7+
import path = path::path;
88
import vec::vec_len;
9-
export option, some, none, vec_len;
9+
export path, option, some, none, vec_len;
1010

1111
// Export the log levels as global constants. Higher levels mean
1212
// more-verbosity. Error is the bottom level, default logging level is

0 commit comments

Comments
 (0)