Skip to content

Commit 76b5fcf

Browse files
committed
---
yaml --- r: 276503 b: refs/heads/try c: b385ce1 h: refs/heads/master i: 276501: 510c546 276499: 4d6a5cd 276495: 7b1319e
1 parent 2892b25 commit 76b5fcf

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: 751c24d345cd016429583e4d6654538ed881748a
4+
refs/heads/try: b385ce12232a6c192b168b75ec9867a5a83d2036
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/rtstartup/rsbegin.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,20 @@
2323
// of other runtime components (registered via yet another special image section).
2424

2525
#![crate_type="rlib"]
26-
#![no_std]
26+
#![feature(no_core, lang_items, optin_builtin_traits)]
27+
#![no_core]
2728
#![allow(non_camel_case_types)]
2829

30+
#[lang="sized"]
31+
trait Sized {}
32+
33+
#[lang="copy"]
34+
trait Copy {}
35+
36+
#[lang="sync"]
37+
trait Sync {}
38+
impl Sync for .. {}
39+
2940
#[cfg(all(target_os="windows", target_arch = "x86", target_env="gnu"))]
3041
pub mod eh_frames
3142
{

branches/try/src/rtstartup/rsend.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
// See rsbegin.rs for details.
1212

1313
#![crate_type="rlib"]
14-
#![no_std]
14+
#![feature(no_core, lang_items, optin_builtin_traits)]
15+
#![no_core]
16+
17+
#[lang="sync"]
18+
trait Sync {}
19+
impl Sync for .. {}
1520

1621
#[cfg(all(target_os="windows", target_arch = "x86", target_env="gnu"))]
1722
pub mod eh_frames

branches/try/src/test/run-pass/smallest-hello-world.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern "rust-intrinsic" { fn transmute<T, U>(t: T) -> U; }
2222

2323
#[lang = "eh_personality"] extern fn eh_personality() {}
2424
#[lang = "eh_unwind_resume"] extern fn eh_unwind_resume() {}
25-
#[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
25+
#[lang = "panic_fmt"] extern fn panic_fmt() -> ! { loop {} }
2626
#[no_mangle] pub extern fn rust_eh_register_frames () {}
2727
#[no_mangle] pub extern fn rust_eh_unregister_frames () {}
2828

0 commit comments

Comments
 (0)