Skip to content

Commit a39cb21

Browse files
committed
---
yaml --- r: 63269 b: refs/heads/snap-stage3 c: 00ff170 h: refs/heads/master i: 63267: 2817d7b v: v3
1 parent 32e1c4f commit a39cb21

File tree

4 files changed

+13
-208
lines changed

4 files changed

+13
-208
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6c45160f19cff60e8956491eabe9e4704735c0eb
4+
refs/heads/snap-stage3: 00ff170e7ff22b47ed077474c0b763cd48fd9ffb
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/rt.mk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,17 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS)
210210
V=$$(VERBOSE)
211211
endif
212212

213+
ifeq ($(OSTYPE_$(1)), linux-androideabi)
214+
$$(JEMALLOC_LIB_$(1)_$(2)):
215+
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
216+
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1) --disable-tls \
217+
EXTRA_CFLAGS="$$(CFG_GCCISH_CFLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1))) $$(SNAP_DEFINES)" \
218+
LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS) $$(LIBUV_FLAGS_$$(HOST_$(1)))" \
219+
CC="$$(CC_$(1))" \
220+
CXX="$$(CXX_$(1))" \
221+
AR="$$(AR_$(1))"
222+
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
223+
else
213224
$$(JEMALLOC_LIB_$(1)_$(2)):
214225
cd $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc; $(S)src/rt/jemalloc/configure \
215226
--disable-experimental --build=$(CFG_BUILD_TRIPLE) --host=$(1) \
@@ -219,6 +230,7 @@ $$(JEMALLOC_LIB_$(1)_$(2)):
219230
CXX="$$(CXX_$(1))" \
220231
AR="$$(AR_$(1))"
221232
$$(Q)$$(MAKE) -C $$(CFG_BUILD_DIR)/rt/$(1)/stage$(2)/jemalloc
233+
endif
222234

223235

224236
# These could go in rt.mk or rustllvm.mk, they're needed for both.

branches/snap-stage3/src/libstd/unstable/dynamic_lib.rs

Lines changed: 0 additions & 199 deletions
This file was deleted.

branches/snap-stage3/src/libstd/unstable/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ use prelude::*;
1717
use task;
1818

1919
pub mod at_exit;
20-
21-
// Currently only works for *NIXes
22-
#[cfg(target_os = "linux")]
23-
#[cfg(target_os = "android")]
24-
#[cfg(target_os = "macos")]
25-
#[cfg(target_os = "freebsd")]
26-
pub mod dynamic_lib;
27-
2820
pub mod global;
2921
pub mod finally;
3022
pub mod weak_task;

0 commit comments

Comments
 (0)