about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-25 22:20:43 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-26 11:30:23 -0800
commitab431a20c0fe3f00f3d124200d10e13877dcf20b (patch)
treec5076a8b6b18f7cf7bb88b7f55546f7d8f9b2a8a
parent1f34f50ce6a2b5a9c045df21b9147d61cc54b6cd (diff)
downloadrust-ab431a20c0fe3f00f3d124200d10e13877dcf20b.tar.gz
rust-ab431a20c0fe3f00f3d124200d10e13877dcf20b.zip
Register new snapshots
-rw-r--r--mk/rt.mk1
-rw-r--r--src/libextra/lib.rs2
-rw-r--r--src/libgreen/lib.rs1
-rw-r--r--src/libnative/lib.rs1
-rw-r--r--src/librustc/lib.rs2
-rw-r--r--src/librustc/middle/lint.rs3
-rw-r--r--src/librustdoc/lib.rs2
-rw-r--r--src/librustpkg/lib.rs2
-rw-r--r--src/librustuv/lib.rs2
-rw-r--r--src/libstd/lib.rs2
-rw-r--r--src/libstd/rtdeps.rs25
-rw-r--r--src/libsyntax/lib.rs2
-rw-r--r--src/rt/rust_upcall.c92
-rw-r--r--src/snapshots.txt8
14 files changed, 9 insertions, 136 deletions
diff --git a/mk/rt.mk b/mk/rt.mk
index 6d5e4ae2fef..ddffcb3ffb9 100644
--- a/mk/rt.mk
+++ b/mk/rt.mk
@@ -74,7 +74,6 @@ endif
 
 RUNTIME_CS_$(1)_$(2) := \
               rt/rust_builtin.c \
-              rt/rust_upcall.c \
               rt/miniz.c \
               rt/rust_android_dummy.c \
               rt/rust_test_helpers.c
diff --git a/src/libextra/lib.rs b/src/libextra/lib.rs
index 51e105d23f7..fdc191414af 100644
--- a/src/libextra/lib.rs
+++ b/src/libextra/lib.rs
@@ -20,8 +20,6 @@ Rust extras are part of the standard Rust distribution.
 
 */
 
-// NOTE: remove after snapshot
-#[pkgid = "extra#0.9-pre"];
 #[crate_id = "extra#0.9-pre"];
 #[comment = "Rust extras"];
 #[license = "MIT/ASL2"];
diff --git a/src/libgreen/lib.rs b/src/libgreen/lib.rs
index 3a2e8a2b36c..33d45b0f6e7 100644
--- a/src/libgreen/lib.rs
+++ b/src/libgreen/lib.rs
@@ -17,7 +17,6 @@
 //! This can be optionally linked in to rust programs in order to provide M:N
 //! functionality inside of 1:1 programs.
 
-#[pkgid = "green#0.9-pre"];
 #[crate_id = "green#0.9-pre"];
 #[license = "MIT/ASL2"];
 #[crate_type = "rlib"];
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index e0666592651..d92127cfbb2 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -14,7 +14,6 @@
 //! runtime. In addition, all I/O provided by this crate is the thread blocking
 //! version of I/O.
 
-#[pkgid = "native#0.9-pre"];
 #[crate_id = "native#0.9-pre"];
 #[license = "MIT/ASL2"];
 #[crate_type = "rlib"];
diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs
index b9f4315ca2b..710a5dc93c0 100644
--- a/src/librustc/lib.rs
+++ b/src/librustc/lib.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// NOTE: remove after snapshot
-#[pkgid = "rustc#0.9-pre"];
 #[crate_id = "rustc#0.9-pre"];
 #[comment = "The Rust compiler"];
 #[license = "MIT/ASL2"];
diff --git a/src/librustc/middle/lint.rs b/src/librustc/middle/lint.rs
index 5a74fdb6d86..cb4208128d5 100644
--- a/src/librustc/middle/lint.rs
+++ b/src/librustc/middle/lint.rs
@@ -828,8 +828,7 @@ fn check_heap_item(cx: &Context, it: &ast::item) {
 }
 
 static crate_attrs: &'static [&'static str] = &[
-// NOTE: remove pkgid after snapshot
-    "crate_type", "feature", "no_uv", "no_main", "no_std", "pkgid", "crate_id",
+    "crate_type", "feature", "no_uv", "no_main", "no_std", "crate_id",
     "desc", "comment", "license", "copyright", // not used in rustc now
 ];
 
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 3d9a0a73e57..c60f19d3ad2 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// NOTE: remove after snapshot
-#[pkgid = "rustdoc#0.9-pre"];
 #[crate_id = "rustdoc#0.9-pre"];
 #[desc = "rustdoc, the Rust documentation extractor"];
 #[license = "MIT/ASL2"];
diff --git a/src/librustpkg/lib.rs b/src/librustpkg/lib.rs
index 9dbddf78818..6bb6add407a 100644
--- a/src/librustpkg/lib.rs
+++ b/src/librustpkg/lib.rs
@@ -10,8 +10,6 @@
 
 // rustpkg - a package manager and build system for Rust
 
-// NOTE: remove after snapshot
-#[pkgid = "rustpkg#0.9-pre"];
 #[crate_id = "rustpkg#0.9-pre"];
 #[license = "MIT/ASL2"];
 #[crate_type = "dylib"];
diff --git a/src/librustuv/lib.rs b/src/librustuv/lib.rs
index 2ef10dd33ac..62cd0c4836c 100644
--- a/src/librustuv/lib.rs
+++ b/src/librustuv/lib.rs
@@ -34,8 +34,6 @@ via `close` and `delete` methods.
 
 */
 
-// NOTE: remove after snapshot
-#[pkgid = "rustuv#0.9-pre"];
 #[crate_id = "rustuv#0.9-pre"];
 #[license = "MIT/ASL2"];
 #[crate_type = "rlib"];
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 4f633a63bab..442c7f3f856 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -43,8 +43,6 @@
 //!
 //!     use std::prelude::*;
 
-// NOTE: remove after snapshot
-#[pkgid = "std#0.9-pre"];
 #[crate_id = "std#0.9-pre"];
 #[comment = "The Rust standard library"];
 #[license = "MIT/ASL2"];
diff --git a/src/libstd/rtdeps.rs b/src/libstd/rtdeps.rs
index 01d163f49e0..1ecfc1f25d0 100644
--- a/src/libstd/rtdeps.rs
+++ b/src/libstd/rtdeps.rs
@@ -43,28 +43,3 @@ extern {}
 #[cfg(target_os = "macos")]
 #[link(name = "pthread")]
 extern {}
-
-// NOTE: remove after snapshot
-// stage0-generated code still depends on c++
-#[cfg(stage0)]
-mod stage0 {
-    #[cfg(target_os = "linux")]
-    #[link(name = "stdc++")]
-    extern {}
-
-    #[cfg(target_os = "android")]
-    #[link(name = "supc++")]
-    extern {}
-
-    #[cfg(target_os = "freebsd")]
-    #[link(name = "stdc++")]
-    extern {}
-
-    #[cfg(target_os = "macos")]
-    #[link(name = "stdc++")]
-    extern {}
-
-    #[cfg(target_os = "win32")]
-    #[link(name = "stdc++")]
-    extern {}
-}
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 25986f67c69..a8c5ba0153d 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -13,8 +13,6 @@
  *  macros.
  */
 
-// NOTE: remove pkgid after snapshot
-#[pkgid = "syntax#0.9-pre"];
 #[crate_id = "syntax#0.9-pre"];
 #[license = "MIT/ASL2"];
 #[crate_type = "dylib"];
diff --git a/src/rt/rust_upcall.c b/src/rt/rust_upcall.c
deleted file mode 100644
index 945ed2f8b55..00000000000
--- a/src/rt/rust_upcall.c
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// NOTE: remove this file after snapshot
-// unwind personality routine lives now in libstd/rt/unwind.rs
-
-/*
-  Upcalls
-
-  These are runtime functions that the compiler knows about and generates
-  calls to. They are called on the Rust stack and, in most cases, immediately
-  switch to the C stack.
- */
-
-#include <stdint.h>
-
-//Unwinding ABI declarations.
-typedef int _Unwind_Reason_Code;
-typedef int _Unwind_Action;
-
-struct _Unwind_Context;
-struct _Unwind_Exception;
-
-#if __USING_SJLJ_EXCEPTIONS__
-#   define PERSONALITY_FUNC __gxx_personality_sj0
-#else
-#   ifdef __SEH__
-#       define PERSONALITY_FUNC __gxx_personality_seh0
-#   else
-#       define PERSONALITY_FUNC __gxx_personality_v0
-#   endif
-#endif
-
-_Unwind_Reason_Code
-PERSONALITY_FUNC(int version,
-                     _Unwind_Action actions,
-                     uint64_t exception_class,
-                     struct _Unwind_Exception *ue_header,
-                     struct _Unwind_Context *context);
-
-struct s_rust_personality_args {
-    _Unwind_Reason_Code retval;
-    int version;
-    _Unwind_Action actions;
-    uint64_t exception_class;
-    struct _Unwind_Exception *ue_header;
-    struct _Unwind_Context *context;
-};
-
-static void
-upcall_s_rust_personality(struct s_rust_personality_args *args) {
-    args->retval = PERSONALITY_FUNC(args->version,
-                                    args->actions,
-                                    args->exception_class,
-                                    args->ue_header,
-                                    args->context);
-}
-
-/**
-   The exception handling personality function. It figures
-   out what to do with each landing pad. Just a stack-switching
-   wrapper around the C++ personality function.
-*/
-_Unwind_Reason_Code
-upcall_rust_personality(int version,
-                        _Unwind_Action actions,
-                        uint64_t exception_class,
-                        struct _Unwind_Exception *ue_header,
-                        struct _Unwind_Context *context) {
-    struct s_rust_personality_args args = {(_Unwind_Reason_Code)0,
-                                           version, actions, exception_class,
-                                           ue_header, context};
-    upcall_s_rust_personality(&args);
-    return args.retval;
-}
-
-//
-// Local Variables:
-// mode: C++
-// fill-column: 78;
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
-//
diff --git a/src/snapshots.txt b/src/snapshots.txt
index 8b9713fc3a4..2d6e42e005f 100644
--- a/src/snapshots.txt
+++ b/src/snapshots.txt
@@ -1,3 +1,11 @@
+S 2013-12-25 cab6af5
+  freebsd-x86_64 bf06667e19a24ffad3a4111c704e9e919f08b076
+  linux-i386 1d3c54daa6192f823dab694e5ea42c636633df6b
+  linux-x86_64 1af14ca2b248061d5a999062d6bb0825420c0add
+  macos-i386 7cee8aefd84c8d93cde40b89bf787b669e911171
+  macos-x86_64 d4a4ef8f2b28d3d5eafbccf0df07999efd8115af
+  winnt-i386 847e8858bcae47cd56bf1ea3b3c0d536897c8d68
+
 S 2013-12-17 d5798b3
   freebsd-x86_64 8f71dbd1aef6c59867ce6287cc82c6033e1ee5e5
   linux-i386 3a6e8950ef704ec57ab690b30beda19d7a63a537