diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-07-03 16:11:00 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-07-03 16:11:00 -0700 |
| commit | debb7e4641af2ea71cf8733b3f071d614803dcbd (patch) | |
| tree | 3c087869d79d340300a1383b95b994b2fce43517 /src/libcore/stackwalk.rs | |
| parent | 7259195caff1fdcce6266e6ecf51c0fd614e041f (diff) | |
| download | rust-debb7e4641af2ea71cf8733b3f071d614803dcbd.tar.gz rust-debb7e4641af2ea71cf8733b3f071d614803dcbd.zip | |
Switch 'native' to 'extern' (or 'foreign' in some descriptions)
Diffstat (limited to 'src/libcore/stackwalk.rs')
| -rw-r--r-- | src/libcore/stackwalk.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/stackwalk.rs b/src/libcore/stackwalk.rs index 4af007b14dd..8964067da0b 100644 --- a/src/libcore/stackwalk.rs +++ b/src/libcore/stackwalk.rs @@ -34,7 +34,7 @@ fn walk_stack(visit: fn(frame) -> bool) { if *frame_address == 0u { #debug("encountered task_start_wrapper. ending walk"); // This is the task_start_wrapper_frame. There is - // no stack beneath it and it is a native frame. + // no stack beneath it and it is a foreign frame. break; } } @@ -72,11 +72,11 @@ fn frame_address(f: fn(*u8)) { rusti::frame_address(f) } -native mod rustrt { +extern mod rustrt { fn rust_dbg_breakpoint(); } #[abi = "rust-intrinsic"] -native mod rusti { +extern mod rusti { fn frame_address(f: fn(*u8)); } |
