Skip to content

Commit 4c0f260

Browse files
committed
---
yaml --- r: 277271 b: refs/heads/try c: f942c28 h: refs/heads/master i: 277269: bad05bb 277267: 2e4d3f8 277263: ecf906d
1 parent 054ff45 commit 4c0f260

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 3fc5d2746eb9ded7a43186f6e2e0b3bd3e8ffd42
4+
refs/heads/try: f942c28900159152358dd2f5718262464c09dc52
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_driver/target_features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn add_configuration(cfg: &mut ast::CrateConfig, sess: &Session) {
4949
let tf = InternedString::new("target_feature");
5050
for feat in whitelist {
5151
if unsafe { LLVMRustHasFeature(target_machine, feat.as_ptr() as *const c_char) } {
52-
cfg.push(attr::mk_name_value_item_str(tf.clone(), intern(feat)))
52+
cfg.push(attr::mk_name_value_item_str(tf.clone(), intern(&feat[..feat.len()-1])))
5353
}
5454
}
5555
}

0 commit comments

Comments
 (0)