Skip to content

Commit d72e263

Browse files
committed
---
yaml --- r: 132607 b: refs/heads/dist-snap c: 3826026 h: refs/heads/master i: 132605: 1b7013c 132603: de6f742 132599: 0c91e81 132591: 7b7af64 132575: b266ab0 132543: 563a3a6 132479: a9cdf8d 132351: 3d2453d 132095: bc5bfd6 v: v3
1 parent b2d586c commit d72e263

File tree

254 files changed

+2126
-4210
lines changed

Some content is hidden

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

254 files changed

+2126
-4210
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 457a3c991d79b971be07fce75f9d0c12848fb37c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 39bafb09fd616ae6aceec4abf05c270435e8cc42
9+
refs/heads/dist-snap: 3826026f98de137adf51d3df88d5c4e40d790cf0
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@
6464
/nd/
6565
/rt/
6666
/rustllvm/
67-
/src/libunicode/DerivedCoreProperties.txt
68-
/src/libunicode/EastAsianWidth.txt
69-
/src/libunicode/HangulSyllableType.txt
70-
/src/libunicode/PropList.txt
71-
/src/libunicode/Scripts.txt
72-
/src/libunicode/UnicodeData.txt
7367
/stage0/
7468
/stage1/
7569
/stage2/

branches/dist-snap/configure

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -557,21 +557,13 @@ fi
557557

558558
if [ ! -z "$CFG_ENABLE_LOCAL_RUST" ]
559559
then
560-
system_rustc=$(which rustc)
561-
if [ -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
560+
if [ ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
562561
then
563-
: # everything already configured
564-
elif [ -n "$system_rustc" ]
565-
then
566-
# we assume that rustc is in a /bin directory
567-
CFG_LOCAL_RUST_ROOT=${system_rustc%/bin/rustc}
568-
else
569562
err "no local rust to use"
563+
else
564+
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
565+
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
570566
fi
571-
572-
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
573-
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
574-
putvar CFG_LOCAL_RUST_ROOT
575567
fi
576568

577569
# Force freebsd to build with clang; gcc doesn't like us there

branches/dist-snap/mk/platform.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ RUSTC_CROSS_FLAGS_arm-unknown-linux-gnueabi :=
377377
# mipsel-linux configuration
378378
CC_mipsel-linux=mipsel-linux-gcc
379379
CXX_mipsel-linux=mipsel-linux-g++
380-
CPP_mipsel-linux=mipsel-linux-gcc
380+
CPP_mipsel-linux=mipsel-linux-gcc
381381
AR_mipsel-linux=mipsel-linux-ar
382382
CFG_LIB_NAME_mipsel-linux=lib$(1).so
383383
CFG_STATIC_LIB_NAME_mipsel-linux=lib$(1).a
@@ -641,7 +641,7 @@ define CFG_MAKE_TOOLCHAIN
641641
CXX_$(1)=$(CROSS_PREFIX_$(1))$(CXX_$(1))
642642
CPP_$(1)=$(CROSS_PREFIX_$(1))$(CPP_$(1))
643643
AR_$(1)=$(CROSS_PREFIX_$(1))$(AR_$(1))
644-
RUSTC_CROSS_FLAGS_$(1)=-C linker=$$(call FIND_COMPILER,$$(CC_$(1))) \
644+
RUSTC_CROSS_FLAGS_$(1)=-C linker=$$(call FIND_COMPILER,$$(CXX_$(1))) \
645645
-C ar=$$(call FIND_COMPILER,$$(AR_$(1))) $(RUSTC_CROSS_FLAGS_$(1))
646646

647647
RUSTC_FLAGS_$(1)=$$(RUSTC_CROSS_FLAGS_$(1)) $(RUSTC_FLAGS_$(1))

branches/dist-snap/src/doc/complement-design-faq.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ non-deterministic behavior. Rust provides the tools to make using a GC
5050
possible and even pleasant, but it should not be a requirement for
5151
implementing the language.
5252

53-
## Non-`Sync` `static mut` is unsafe
53+
## Non-`Share` `static mut` is unsafe
5454

55-
Types which are [`Sync`][sync] are thread-safe when multiple shared
56-
references to them are used concurrently. Types which are not `Sync` are not
55+
Types which are [`Share`][share] are thread-safe when multiple shared
56+
references to them are used concurrently. Types which are not `Share` are not
5757
thread-safe, and thus when used in a global require unsafe code to use.
5858

59-
[sync]: http://doc.rust-lang.org/core/kinds/trait.Sync.html
59+
[share]: http://doc.rust-lang.org/core/kinds/trait.Share.html
6060

61-
### If mutable static items that implement `Sync` are safe, why is taking &mut SHARABLE unsafe?
61+
### If mutable static items that implement `Share` are safe, why is taking &mut SHARABLE unsafe?
6262

6363
Having multiple aliasing `&mut T`s is never allowed. Due to the nature of
6464
globals, the borrow checker cannot possibly ensure that a static obeys the

branches/dist-snap/src/doc/guide-unsafe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,10 +699,10 @@ Other features provided by lang items include:
699699
- stack unwinding and general failure; the `eh_personality`, `fail_`
700700
and `fail_bounds_checks` lang items.
701701
- the traits in `std::kinds` used to indicate types that satisfy
702-
various kinds; lang items `send`, `sync` and `copy`.
702+
various kinds; lang items `send`, `share` and `copy`.
703703
- the marker types and variance indicators found in
704704
`std::kinds::markers`; lang items `covariant_type`,
705-
`contravariant_lifetime`, `no_sync_bound`, etc.
705+
`contravariant_lifetime`, `no_share_bound`, etc.
706706

707707
Lang items are loaded lazily by the compiler; e.g. if one never uses
708708
`Box` then there is no need to define functions for `exchange_malloc`

0 commit comments

Comments
 (0)