about summary refs log tree commit diff
path: root/src/libcore/stackwalk.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-07-03 16:11:00 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-07-03 16:11:00 -0700
commitdebb7e4641af2ea71cf8733b3f071d614803dcbd (patch)
tree3c087869d79d340300a1383b95b994b2fce43517 /src/libcore/stackwalk.rs
parent7259195caff1fdcce6266e6ecf51c0fd614e041f (diff)
downloadrust-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.rs6
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));
 }