Skip to content

Commit 8a492cc

Browse files
committed
---
yaml --- r: 128689 b: refs/heads/try c: e8006f3 h: refs/heads/master i: 128687: bf4af7a v: v3
1 parent 4b7bb42 commit 8a492cc

File tree

207 files changed

+1220
-3547
lines changed

Some content is hidden

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

207 files changed

+1220
-3547
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 07d86b46a949a94223da714e35b343243e4ecce4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a86d9ad15e339ab343a12513f9c90556f677b9ca
5-
refs/heads/try: 351cc4fc99b7579cf53c5dbeb35cfb224ced03d8
5+
refs/heads/try: e8006f3c74a52d6e2feba51ab48bea9ea5116f9b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ please do two things:
1616

1717
2. Run the full Rust test suite with the `make check` command. You're
1818
not off the hook even if you just stick to documentation; code
19-
examples in the docs are tested as well!
19+
examples in the docs are tested as well! Although for simple
20+
wording or grammar fixes, this is probably unnecessary.
2021

2122
Pull requests will be treated as "review requests", and we will give
2223
feedback we expect to see corrected on

branches/try/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/try/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/try/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/try/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)