Backed out changeset 9af854b99136 (bug 1730397) as requested by the dev for causing SM bustages. CLOSED TREE

This commit is contained in:
Marian-Vasile Laza 2021-09-15 11:42:13 +03:00
parent 4dbe34f810
commit b228e7547d
7 changed files with 5 additions and 16 deletions

View File

@ -69,7 +69,7 @@ rev = "746743227485a83123784df0c53227ab466612ed"
[source."https://github.com/hsivonen/packed_simd"]
git = "https://github.com/hsivonen/packed_simd"
replace-with = "vendored-sources"
rev = "c621dcc01236d02aa9d380cfe29e9a0a94f60442"
rev = "6a16f954950401b92b4e220fbf2dfaf6f00e1fb2"
[source."https://github.com/hsivonen/chardetng_c"]
git = "https://github.com/hsivonen/chardetng_c"

3
Cargo.lock generated
View File

@ -3543,10 +3543,9 @@ dependencies = [
[[package]]
name = "packed_simd"
version = "0.3.4"
source = "git+https://github.com/hsivonen/packed_simd?rev=c621dcc01236d02aa9d380cfe29e9a0a94f60442#c621dcc01236d02aa9d380cfe29e9a0a94f60442"
source = "git+https://github.com/hsivonen/packed_simd?rev=6a16f954950401b92b4e220fbf2dfaf6f00e1fb2#6a16f954950401b92b4e220fbf2dfaf6f00e1fb2"
dependencies = [
"cfg-if 0.1.10",
"rustc_version",
]
[[package]]

View File

@ -81,7 +81,7 @@ opt-level = 2
chardetng = { git = "https://github.com/hsivonen/chardetng", rev="302c995f91f44cf26e77dc4758ad56c3ff0153ad" }
chardetng_c = { git = "https://github.com/hsivonen/chardetng_c", rev="ed8a4c6f900a90d4dbc1d64b856e61490a1c3570" }
libudev-sys = { path = "dom/webauthn/libudev-sys" }
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="c621dcc01236d02aa9d380cfe29e9a0a94f60442" }
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="6a16f954950401b92b4e220fbf2dfaf6f00e1fb2" }
minidump_writer_linux = { git = "https://github.com/msirringhaus/minidump_writer_linux.git", rev = "029ac0d54b237f27dc7d8d4e51bc0fb076e5e852" }
# The following overrides point to dummy projects, as a temporary measure until this is resolved:
# https://github.com/rust-lang/cargo/issues/6179

File diff suppressed because one or more lines are too long

View File

@ -29,9 +29,6 @@ default = []
into_bits = []
libcore_neon = []
[build-dependencies]
rustc_version = "0.2"
[dev-dependencies]
paste = "^0.1.3"
arrayvec = { version = "^0.5", default-features = false }

View File

@ -1,5 +1,3 @@
use rustc_version::{version, Version};
fn main() {
println!("cargo:rustc-env=RUSTC_BOOTSTRAP=1");
let target = std::env::var("TARGET")
@ -7,8 +5,4 @@ fn main() {
if target.contains("neon") {
println!("cargo:rustc-cfg=libcore_neon");
}
let ver = version().unwrap();
if ver < Version::parse("1.56.0-alpha").unwrap() {
println!("cargo:rustc-cfg=const_generics");
}
}

View File

@ -199,9 +199,8 @@
//! Numeric casts are not very "precise": sometimes lossy, sometimes value
//! preserving, etc.
#![cfg_attr(const_generics, feature(const_generics))]
#![cfg_attr(not(const_generics), feature(adt_const_params))]
#![feature(
const_generics,
repr_simd,
rustc_attrs,
platform_intrinsics,