Skip to content

Commit d7499b8

Browse files
colinvhalexcrichton
authored andcommitted
---
yaml --- r: 153951 b: refs/heads/try2 c: 571f6cf h: refs/heads/master i: 153949: 3909949 153947: 0126222 153943: f47adf1 153935: a03d0f4 153919: 79cc5b1 v: v3
1 parent 2c831b4 commit d7499b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+537
-1451
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 75a39e0fb8fef20d72f7279686ec266bb9cec127
8+
refs/heads/try2: 571f6cf29ae181098e3aff43a5f8e345be6708e9
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/configure

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,6 @@ case $CFG_OSTYPE in
291291
CFG_OSTYPE=unknown-freebsd
292292
;;
293293

294-
DragonFly)
295-
CFG_OSTYPE=unknown-dragonfly
296-
;;
297-
298294
Darwin)
299295
CFG_OSTYPE=apple-darwin
300296
;;

branches/try2/mk/platform.mk

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -580,33 +580,6 @@ CFG_LDPATH_x86_64-unknown-freebsd :=
580580
CFG_RUN_x86_64-unknown-freebsd=$(2)
581581
CFG_RUN_TARG_x86_64-unknown-freebsd=$(call CFG_RUN_x86_64-unknown-freebsd,,$(2))
582582

583-
# x86_64-pc-dragonfly-elf configuration
584-
CC_x86_64-unknown-dragonfly=$(CC)
585-
CXX_x86_64-unknown-dragonfly=$(CXX)
586-
CPP_x86_64-unknown-dragonfly=$(CPP)
587-
AR_x86_64-unknown-dragonfly=$(AR)
588-
CFG_LIB_NAME_x86_64-unknown-dragonfly=lib$(1).so
589-
CFG_STATIC_LIB_NAME_x86_64-unknown-dragonfly=lib$(1).a
590-
CFG_LIB_GLOB_x86_64-unknown-dragonfly=lib$(1)-*.so
591-
CFG_LIB_DSYM_GLOB_x86_64-unknown-dragonfly=$(1)-*.dylib.dSYM
592-
CFG_CFLAGS_x86_64-unknown-dragonfly := -I/usr/include -I/usr/local/include $(CFLAGS)
593-
CFG_GCCISH_CFLAGS_x86_64-unknown-dragonfly := -Wall -Werror -g -fPIC -I/usr/include -I/usr/local/include $(CFLAGS)
594-
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-dragonfly := -shared -fPIC -g -pthread -lrt
595-
CFG_GCCISH_DEF_FLAG_x86_64-unknown-dragonfly := -Wl,--export-dynamic,--dynamic-list=
596-
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-unknown-dragonfly := -Wl,-whole-archive
597-
CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-dragonfly := -Wl,-no-whole-archive
598-
CFG_DEF_SUFFIX_x86_64-unknown-dragonfly := .bsd.def
599-
CFG_LLC_FLAGS_x86_64-unknown-dragonfly :=
600-
CFG_INSTALL_NAME_x86_64-unknown-dragonfly =
601-
CFG_LIBUV_LINK_FLAGS_x86_64-unknown-dragonfly := -pthread -lkvm
602-
CFG_EXE_SUFFIX_x86_64-unknown-dragonfly :=
603-
CFG_WINDOWSY_x86_64-unknown-dragonfly :=
604-
CFG_UNIXY_x86_64-unknown-dragonfly := 1
605-
CFG_PATH_MUNGE_x86_64-unknown-dragonfly :=
606-
CFG_LDPATH_x86_64-unknown-dragonfly :=
607-
CFG_RUN_x86_64-unknown-dragonfly=$(2)
608-
CFG_RUN_TARG_x86_64-unknown-dragonfly=$(call CFG_RUN_x86_64-unknown-dragonfly,,$(2))
609-
610583

611584
# The -Qunused-arguments sidesteps spurious warnings from clang
612585
define FILTER_FLAGS

branches/try2/mk/rt.mk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ else ifeq ($(OSTYPE_$(1)), apple-ios)
171171
JEMALLOC_ARGS_$(1) := --disable-tls
172172
else ifeq ($(OSTYPE_$(1)), unknown-freebsd)
173173
LIBUV_OSTYPE_$(1) := freebsd
174-
else ifeq ($(OSTYPE_$(1)), unknown-dragonfly)
175-
LIBUV_OSTYPE_$(1) := freebsd
176-
# required on DragonFly, otherwise gyp fails with a Python exception
177-
LIBUV_GYP_ARGS_$(1) := --no-parallel
178174
else ifeq ($(OSTYPE_$(1)), linux-androideabi)
179175
LIBUV_OSTYPE_$(1) := android
180176
LIBUV_ARGS_$(1) := PLATFORM=android host=android OS=linux
@@ -206,7 +202,7 @@ $$(LIBUV_MAKEFILE_$(1)): $$(LIBUV_DEPS) $$(MKFILE_DEPS) $$(LIBUV_STAMP_$(1))
206202
$$(CFG_PYTHON) ./gyp_uv.py -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) \
207203
-D ninja \
208204
-DOS=$$(LIBUV_OSTYPE_$(1)) \
209-
-Goutput_dir=$$(@D) $$(LIBUV_GYP_ARGS_$(1)) --generator-output $$(@D))
205+
-Goutput_dir=$$(@D) --generator-output $$(@D))
210206
touch $$@
211207

212208
# Windows has a completely different build system for libuv because of mingw. In

branches/try2/src/compiletest/runtest.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,6 @@ fn check_expected_errors(expected_errors: Vec<errors::ExpectedError> ,
837837
#[cfg(target_os = "linux")]
838838
#[cfg(target_os = "macos")]
839839
#[cfg(target_os = "freebsd")]
840-
#[cfg(target_os = "dragonfly")]
841840
fn prefix_matches( line : &str, prefix : &str ) -> bool {
842841
line.starts_with( prefix )
843842
}
@@ -1241,7 +1240,6 @@ fn program_output(config: &Config, testfile: &Path, lib_path: &str, prog: String
12411240
#[cfg(target_os = "linux")]
12421241
#[cfg(target_os = "macos")]
12431242
#[cfg(target_os = "freebsd")]
1244-
#[cfg(target_os = "dragonfly")]
12451243
fn make_cmdline(_libpath: &str, prog: &str, args: &[String]) -> String {
12461244
format!("{} {}", prog, args.connect(" "))
12471245
}

branches/try2/src/compiletest/util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ static OS_TABLE: &'static [(&'static str, &'static str)] = &[
2121
("android", "android"),
2222
("linux", "linux"),
2323
("freebsd", "freebsd"),
24-
("dragonfly", "dragonfly"),
2524
];
2625

2726
pub fn get_os(triple: &str) -> &'static str {

branches/try2/src/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@ The following configurations must be defined by the implementation:
20072007
`"unix"` or `"windows"`. The value of this configuration option is defined as
20082008
a configuration itself, like `unix` or `windows`.
20092009
* `target_os = "..."`. Operating system of the target, examples include
2010-
`"win32"`, `"macos"`, `"linux"`, `"android"`, `"freebsd"` or `"dragonfly"`.
2010+
`"win32"`, `"macos"`, `"linux"`, `"android"` or `"freebsd"`.
20112011
* `target_word_size = "..."`. Target word size in bits. This is set to `"32"`
20122012
for targets with 32-bit pointers, and likewise set to `"64"` for 64-bit
20132013
pointers.

branches/try2/src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ reference. We also call this _borrowing_ the local variable
15031503
`on_the_stack`, because we are creating an alias: that is, another
15041504
route to the same data.
15051505

1506-
Likewise, in the case of `owned_box`,
1506+
Likewise, in the case of `on_the_heap`,
15071507
the `&` operator is used in conjunction with the `*` operator
15081508
to take a reference to the contents of the box.
15091509

branches/try2/src/etc/local_stage0.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LIB_PREFIX=lib
1818

1919
OS=`uname -s`
2020
case $OS in
21-
("Linux"|"FreeBSD"|"DragonFly")
21+
("Linux"|"FreeBSD")
2222
BIN_SUF=
2323
LIB_SUF=.so
2424
break
@@ -58,6 +58,3 @@ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}extra*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_D
5858
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}rust*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
5959
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}std*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
6060
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}syntax*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
61-
62-
# do not fail if one of the above fails, as all we need is a working rustc!
63-
exit 0

branches/try2/src/etc/mklldeps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ def run(args):
5656
os = 'linux'
5757
elif 'freebsd' in os:
5858
os = 'freebsd'
59-
elif 'dragonfly' in os:
60-
os = 'dragonfly'
6159
elif 'android' in os:
6260
os = 'android'
6361
elif 'win' in os or 'mingw' in os:

branches/try2/src/libgreen/stack.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,10 @@ pub struct Stack {
2525
// anyway), but some platforms don't support it at all. For example, it appears
2626
// that there's a bug in freebsd that MAP_STACK implies MAP_FIXED (so it always
2727
// fails): http://lists.freebsd.org/pipermail/freebsd-bugs/2011-July/044840.html
28-
//
29-
// DragonFly BSD also seems to suffer from the same problem. When MAP_STACK is
30-
// used, it returns the same `ptr` multiple times.
31-
#[cfg(not(windows), not(target_os = "freebsd"), not(target_os = "dragonfly"))]
28+
#[cfg(not(windows), not(target_os = "freebsd"))]
3229
static STACK_FLAGS: libc::c_int = libc::MAP_STACK | libc::MAP_PRIVATE |
3330
libc::MAP_ANON;
3431
#[cfg(target_os = "freebsd")]
35-
#[cfg(target_os = "dragonfly")]
3632
static STACK_FLAGS: libc::c_int = libc::MAP_PRIVATE | libc::MAP_ANON;
3733
#[cfg(windows)]
3834
static STACK_FLAGS: libc::c_int = 0;

0 commit comments

Comments
 (0)