Skip to content

Commit a3d7372

Browse files
committed
---
yaml --- r: 6807 b: refs/heads/master c: e1a9668 h: refs/heads/master i: 6805: d6ee300 6803: 54a27c3 6799: 738ead7 v: v3
1 parent 4884cf5 commit a3d7372

File tree

10 files changed

+15
-10
lines changed

10 files changed

+15
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: bd6b80c9720bb4b0143378a052b568697ce3abe6
2+
refs/heads/master: e1a9668ab27805db83f97cafe2a937e6569863ff

trunk/src/libstd/comm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Example:
2929
import sys;
3030
import task;
3131

32+
import core::ctypes;
33+
3234
export send;
3335
export recv;
3436
export chan;

trunk/src/libstd/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Module: fs
44
File system manipulation
55
*/
66

7+
import core::ctypes;
78
import core::vec;
89
import core::option;
910
import os;

trunk/src/libstd/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Basic input/output
66

77
import core::option;
88
import core::result;
9-
import ctypes::fd_t;
10-
import ctypes::c_int;
9+
import core::ctypes::fd_t;
10+
import core::ctypes::c_int;
1111

1212
#[abi = "cdecl"]
1313
native mod rustrt {

trunk/src/libstd/linux_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TODO: Restructure and document
55
*/
66

77
import core::option;
8-
import ctypes::*;
8+
import core::ctypes::*;
99

1010
export libc;
1111
export libc_constants;

trunk/src/libstd/macos_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import core::option;
2-
import ctypes::*;
2+
import core::ctypes::*;
33

44
export libc;
55
export libc_constants;

trunk/src/libstd/math.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import f32 = math_f32;
2323

2424
// These two must match in width according to architecture
2525

26-
import ctypes::m_float;
27-
import ctypes::c_int;
28-
import ptr;
26+
import core::mtypes::m_float;
27+
import core::ctypes::c_int;
28+
import core::ptr;
2929
import m_float = math_f64;
3030

3131
/*

trunk/src/libstd/rope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ mod node {
11031103
right : right,
11041104
char_len: char_len(left) + char_len(right),
11051105
byte_len: byte_len(left) + byte_len(right),
1106-
height: math::max(height(left), height(right)) + 1u
1106+
height: float::max(height(left), height(right)) + 1u
11071107
})
11081108
}
11091109

trunk/src/libstd/uv.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export loop_new, loop_delete, default_loop, run, unref;
1212
export idle_init, idle_start;
1313
export idle_new;
1414

15+
import core::ctypes;
16+
1517
#[link_name = "rustrt"]
1618
native mod uv {
1719
fn rust_uv_loop_new() -> *loop_t;

trunk/src/libstd/win32_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import core::option;
2-
import ctypes::*;
2+
import core::ctypes::*;
33

44
#[abi = "cdecl"]
55
#[link_name = ""] // FIXME remove after #[nolink] is snapshotted

0 commit comments

Comments
 (0)