Skip to content

Commit 899a33e

Browse files
committed
---
yaml --- r: 274804 b: refs/heads/stable c: 55dd595 h: refs/heads/master
1 parent 7853c03 commit 899a33e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: bb2e92171fb95c911572ef58a6110c1c53fdd34c
32+
refs/heads/stable: 55dd595c081f76c90f212811ccb55fdf0861784b
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/mk/crates.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ TARGET_CRATES += alloc_jemalloc
144144
DEPS_std += alloc_jemalloc
145145
DEPS_alloc_jemalloc := core libc native:jemalloc
146146
ONLY_RLIB_alloc_jemalloc := 1
147-
else
148-
RUSTFLAGS_rustc_back := --cfg disable_jemalloc
147+
RUSTFLAGS_rustc_back := --cfg 'feature="jemalloc"'
149148
endif
150149

151150
################################################################################

branches/stable/src/librustc_back/target/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,9 @@ impl Target {
501501
}
502502

503503
fn maybe_jemalloc() -> String {
504-
if cfg!(disable_jemalloc) {
505-
"alloc_system".to_string()
506-
} else {
504+
if cfg!(feature = "jemalloc") {
507505
"alloc_jemalloc".to_string()
506+
} else {
507+
"alloc_system".to_string()
508508
}
509509
}

0 commit comments

Comments
 (0)