Skip to content

Commit d615103

Browse files
committed
---
yaml --- r: 273072 b: refs/heads/beta c: 3e05371 h: refs/heads/master
1 parent 29b9e55 commit d615103

File tree

117 files changed

+928
-2590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+928
-2590
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: f6c594b1317be774e6c9c4f62b23709d90f408f8
26+
refs/heads/beta: 3e05371c13f851a5af57a96a5e13c99537787314
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/compiletest/compiletest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![crate_type = "bin"]
1212

1313
#![feature(box_syntax)]
14-
#![feature(dynamic_lib)]
1514
#![feature(libc)]
1615
#![feature(rustc_private)]
1716
#![feature(str_char)]

branches/beta/src/compiletest/procsrv.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,31 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![allow(deprecated)]
12-
13-
use std::dynamic_lib::DynamicLibrary;
11+
use std::env;
12+
use std::ffi::OsString;
1413
use std::io::prelude::*;
1514
use std::path::PathBuf;
1615
use std::process::{ExitStatus, Command, Child, Output, Stdio};
1716

1817
fn add_target_env(cmd: &mut Command, lib_path: &str, aux_path: Option<&str>) {
1918
// Need to be sure to put both the lib_path and the aux path in the dylib
2019
// search path for the child.
21-
let mut path = DynamicLibrary::search_path();
20+
let var = if cfg!(windows) {
21+
"PATH"
22+
} else if cfg!(target_os = "macos") {
23+
"DYLD_LIBRARY_PATH"
24+
} else {
25+
"LD_LIBRARY_PATH"
26+
};
27+
let mut path = env::split_paths(&env::var_os(var).unwrap_or(OsString::new()))
28+
.collect::<Vec<_>>();
2229
if let Some(p) = aux_path {
2330
path.insert(0, PathBuf::from(p))
2431
}
2532
path.insert(0, PathBuf::from(lib_path));
2633

2734
// Add the new dylib search path var
28-
let var = DynamicLibrary::envvar();
29-
let newpath = DynamicLibrary::create_path(&path);
35+
let newpath = env::join_paths(&path).unwrap();
3036
cmd.env(var, newpath);
3137
}
3238

branches/beta/src/etc/platform-intrinsics/x86/avx.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,69 @@
88
"ret": "f(32-64)",
99
"args": ["0", "0"]
1010
},
11+
{
12+
"intrinsic": "256_broadcast_{0.data_type}",
13+
"width": [256],
14+
"llvm": "vbroadcastf128.{0.data_type}.256",
15+
"ret": "f(32-64)",
16+
"args": ["s8SPc"]
17+
},
18+
{
19+
"intrinsic": "256_cvtepi32_pd",
20+
"width": [256],
21+
"llvm": "cvtdq2.pd.256",
22+
"ret": "f64",
23+
"args": ["s32h"]
24+
},
25+
{
26+
"intrinsic": "256_cvtepi32_ps",
27+
"width": [256],
28+
"llvm": "cvtdq2.ps.256",
29+
"ret": "f32",
30+
"args": ["s32"]
31+
},
32+
{
33+
"intrinsic": "256_cvtpd_epi32",
34+
"width": [256],
35+
"llvm": "cvt.pd2dq.256",
36+
"ret": "s32h",
37+
"args": ["f64"]
38+
},
39+
{
40+
"intrinsic": "256_cvtpd_ps",
41+
"width": [256],
42+
"llvm": "cvt.pd2.ps.256",
43+
"ret": "f32h",
44+
"args": ["f64"]
45+
},
46+
{
47+
"intrinsic": "256_cvtps_epi32",
48+
"width": [256],
49+
"llvm": "cvt.ps2dq.256",
50+
"ret": "s32",
51+
"args": ["f32"]
52+
},
53+
{
54+
"intrinsic": "256_cvtps_pd",
55+
"width": [256],
56+
"llvm": "cvt.ps2.pd.256",
57+
"ret": "f64",
58+
"args": ["f32h"]
59+
},
60+
{
61+
"intrinsic": "256_cvttpd_epi32",
62+
"width": [256],
63+
"llvm": "cvtt.pd2dq.256",
64+
"ret": "s32h",
65+
"args": ["f64"]
66+
},
67+
{
68+
"intrinsic": "256_cvttps_epi32",
69+
"width": [256],
70+
"llvm": "cvtt.ps2dq.256",
71+
"ret": "s32",
72+
"args": ["f32"]
73+
},
1174
{
1275
"intrinsic": "256_dp_ps",
1376
"width": [256],

branches/beta/src/liballoc/boxed.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,14 +525,14 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
525525
/// }
526526
/// ```
527527
#[rustc_paren_sugar]
528-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
528+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
529529
pub trait FnBox<A> {
530530
type Output;
531531

532532
fn call_box(self: Box<Self>, args: A) -> Self::Output;
533533
}
534534

535-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
535+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
536536
impl<A, F> FnBox<A> for F where F: FnOnce<A>
537537
{
538538
type Output = F::Output;
@@ -542,7 +542,7 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A>
542542
}
543543
}
544544

545-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
545+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
546546
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
547547
type Output = R;
548548

@@ -551,7 +551,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
551551
}
552552
}
553553

554-
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")]
554+
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
555555
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + Send + 'a> {
556556
type Output = R;
557557

0 commit comments

Comments
 (0)