Register new snapshots

This commit is contained in:
Alex Crichton 2013-12-25 22:20:43 -08:00
parent 1f34f50ce6
commit ab431a20c0
14 changed files with 9 additions and 136 deletions

View File

@ -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

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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
];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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"];

View File

@ -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 {}
}

View File

@ -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"];

View File

@ -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:
//

View File

@ -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