Skip to content

Commit 5aea577

Browse files
committed
Experiment: Use stacker fast-path optimizations
1 parent 1bf5d81 commit 5aea577

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Cargo.lock

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2847,9 +2847,8 @@ dependencies = [
28472847

28482848
[[package]]
28492849
name = "psm"
2850-
version = "0.1.16"
2851-
source = "registry+https://github.com/rust-lang/crates.io-index"
2852-
checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69"
2850+
version = "0.1.17"
2851+
source = "git+https://github.com/hkratz/stacker.git?rev=f2b4078e0c32adffeed3c62ae7e152dbd18fd32b#f2b4078e0c32adffeed3c62ae7e152dbd18fd32b"
28532852
dependencies = [
28542853
"cc",
28552854
]
@@ -4760,8 +4759,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
47604759
[[package]]
47614760
name = "stacker"
47624761
version = "0.1.14"
4763-
source = "registry+https://github.com/rust-lang/crates.io-index"
4764-
checksum = "90939d5171a4420b3ff5fbc8954d641e7377335454c259dcb80786f3f21dc9b4"
4762+
source = "git+https://github.com/hkratz/stacker.git?rev=f2b4078e0c32adffeed3c62ae7e152dbd18fd32b#f2b4078e0c32adffeed3c62ae7e152dbd18fd32b"
47654763
dependencies = [
47664764
"cc",
47674765
"cfg-if 1.0.0",

compiler/rustc_data_structures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rustc_index = { path = "../rustc_index", package = "rustc_index" }
2525
bitflags = "1.2.1"
2626
measureme = "10.0.0"
2727
libc = "0.2"
28-
stacker = "0.1.14"
28+
stacker = { git = "https://github.com/hkratz/stacker.git", rev = "f2b4078e0c32adffeed3c62ae7e152dbd18fd32b", features = ["fast_path_optimization"] }
2929
tempfile = "3.2"
3030

3131
[dependencies.parking_lot]

src/tools/tidy/src/extdeps.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ use std::fs;
44
use std::path::Path;
55

66
/// List of allowed sources for packages.
7-
const ALLOWED_SOURCES: &[&str] = &["\"registry+https://github.com/rust-lang/crates.io-index\""];
7+
const ALLOWED_SOURCES: &[&str] = &[
8+
"\"registry+https://github.com/rust-lang/crates.io-index\"",
9+
"\"git+https://github.com/hkratz/stacker.git?rev=f2b4078e0c32adffeed3c62ae7e152dbd18fd32b#f2b4078e0c32adffeed3c62ae7e152dbd18fd32b\"",
10+
];
811

912
/// Checks for external package sources. `root` is the path to the directory that contains the
1013
/// workspace `Cargo.toml`.

0 commit comments

Comments
 (0)