Skip to content

Commit 94f9b7b

Browse files
committed
---
yaml --- r: 83197 b: refs/heads/try c: 1ce657a h: refs/heads/master i: 83195: 7d5d52b v: v3
1 parent a51b18b commit 94f9b7b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: 34ac5b05f695b21f286f85d2391d116b8ad7a4d5
5+
refs/heads/try: 1ce657aa1f9c07168969cbc90ef4dceb5666c621
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2641,7 +2641,7 @@ pub fn get_item_val(ccx: @mut CrateContext, id: ast::NodeId) -> ValueRef {
26412641
foreign::register_foreign_item_fn(ccx, abis, &path, ni)
26422642
}
26432643
ast::foreign_item_static(*) => {
2644-
let ident = token::ident_to_str(&ni.ident);
2644+
let ident = foreign::link_name(ccx, ni);
26452645
let g = do ident.with_c_str |buf| {
26462646
unsafe {
26472647
let ty = type_of(ccx, ty);

branches/try/src/librustc/rustc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub fn version(argv0: &str) {
134134

135135
pub fn usage(argv0: &str) {
136136
let message = fmt!("Usage: %s [OPTIONS] INPUT", argv0);
137-
printfln!("%s\n\
137+
printfln!("%s\
138138
Additional help:
139139
-W help Print 'lint' options and default settings
140140
-Z help Print internal options for debugging rustc\n",

0 commit comments

Comments
 (0)