Skip to content

Commit abd5cc3

Browse files
Always add all modules to the global ThinLTO module analysis when compiling incrementally.
1 parent 64a738d commit abd5cc3

File tree

6 files changed

+170
-361
lines changed

6 files changed

+170
-361
lines changed

src/Cargo.lock

+11
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,15 @@ dependencies = [
11981198
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
11991199
]
12001200

1201+
[[package]]
1202+
name = "memmap"
1203+
version = "0.6.2"
1204+
source = "registry+https://github.com/rust-lang/crates.io-index"
1205+
dependencies = [
1206+
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
1207+
"winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
1208+
]
1209+
12011210
[[package]]
12021211
name = "memoffset"
12031212
version = "0.2.1"
@@ -2029,6 +2038,7 @@ name = "rustc_codegen_llvm"
20292038
version = "0.0.0"
20302039
dependencies = [
20312040
"cc 1.0.22 (registry+https://github.com/rust-lang/crates.io-index)",
2041+
"memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
20322042
"num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
20332043
"rustc-demangle 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
20342044
"rustc_llvm 0.0.0",
@@ -3151,6 +3161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
31513161
"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
31523162
"checksum mdbook 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "90b5a8d7e341ceee5db3882a06078d42661ddcfa2b3687319cc5da76ec4e782f"
31533163
"checksum memchr 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a3b4142ab8738a78c51896f704f83c11df047ff1bda9a92a661aa6361552d93d"
3164+
"checksum memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff"
31543165
"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3"
31553166
"checksum minifier 0.0.19 (registry+https://github.com/rust-lang/crates.io-index)" = "9908ed7c62f990c21ab41fdca53a864a3ada0da69d8729c4de727b397e27bc11"
31563167
"checksum miniz-sys 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "609ce024854aeb19a0ef7567d348aaa5a746b32fb72e336df7fcc16869d7e2b4"

src/librustc/dep_graph/graph.rs

-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,6 @@ pub enum WorkProductFileKind {
883883
Object,
884884
Bytecode,
885885
BytecodeCompressed,
886-
PreThinLtoBytecode,
887886
}
888887

889888
pub(super) struct CurrentDepGraph {

0 commit comments

Comments
 (0)