Skip to content

Commit ff68204

Browse files
committed
Add a WONTFIX message to a failing test.
Closes rust-lang#20184
1 parent 1d00028 commit ff68204

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/librustc_trans/back/link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pub fn sanitize(s: &str) -> String {
279279
}
280280

281281
pub fn mangle<PI: Iterator<Item=PathElem>>(path: PI,
282-
hash: Option<&str>) -> String {
282+
hash: Option<&str>) -> String {
283283
// Follow C++ namespace-mangling style, see
284284
// http://en.wikipedia.org/wiki/Name_mangling for more info.
285285
//

src/librustc_trans/back/write.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ struct HandlerFreeVars<'a> {
342342
}
343343

344344
unsafe extern "C" fn report_inline_asm<'a, 'b>(cgcx: &'a CodegenContext<'a>,
345-
msg: &'b str,
346-
cookie: c_uint) {
345+
msg: &'b str,
346+
cookie: c_uint) {
347347
use syntax::codemap::ExpnId;
348348

349349
match cgcx.lto_ctxt {

src/test/compile-fail/asm-src-loc-codegen-units.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010
//
11-
// ignore-stage1 (#20184)
11+
// WONTFIX(#20184) Needs landing pads (not present in stage1) or the compiler hangs.
12+
// ignore-stage1
1213
// compile-flags: -C codegen-units=2
1314
// error-pattern: build without -C codegen-units for more exact errors
1415

0 commit comments

Comments
 (0)