Skip to content

Commit 99cf377

Browse files
committed
---
yaml --- r: 105806 b: refs/heads/master c: 2deca58 h: refs/heads/master v: v3
1 parent 3505945 commit 99cf377

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c821cacfed19d081fb5822b93f147e62e31e7931
2+
refs/heads/master: 2deca5840e108826d6aac9dfd6a1865edd957466
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
55
refs/heads/try: db814977d07bd798feb24f6b74c00800ef458a13

trunk/mk/dist.mk

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ PKG_FILES := \
5353
driver \
5454
etc \
5555
$(foreach crate,$(CRATES),lib$(crate)) \
56-
libbacktrace \
5756
rt \
5857
rustllvm \
5958
snapshots.txt \
@@ -79,7 +78,6 @@ $(PKG_TAR): $(PKG_FILES)
7978
--exclude=*/llvm/test/*/*/*.td \
8079
--exclude=*/llvm/test/*/*/*.s \
8180
-c $(UNROOTED_PKG_FILES) | tar -x -C tmp/dist/$(PKG_NAME)
82-
@$(call E, making $@)
8381
$(Q)tar -czf $(PKG_TAR) -C tmp/dist $(PKG_NAME)
8482
$(Q)rm -Rf tmp/dist/$(PKG_NAME)
8583

@@ -249,7 +247,6 @@ distcheck-tar-bins: dist-tar-bins
249247
$(Q)mkdir -p tmp/distcheck/tarbininstall
250248
$(Q)sh tmp/distcheck/$(PKG_NAME)-$(CFG_BUILD)/install.sh --prefix=tmp/distcheck/tarbininstall
251249
$(Q)tmp/distcheck/tarbininstall/bin/rustc --version
252-
$(Q)sh tmp/distcheck/$(PKG_NAME)-$(CFG_BUILD)/install.sh --prefix=tmp/distcheck/tarbininstall --uninstall
253250
$(Q)rm -Rf tmp/distcheck/$(PKG_NAME)-$(CFG_BUILD)
254251
$(Q)rm -Rf tmp/distcheck/tarbininstall
255252

@@ -283,19 +280,9 @@ distcheck: distcheck-win
283280

284281
else
285282

286-
# FIXME #13224: On OS X don't produce tarballs simply because --exclude-vcs don't work.
287-
# This is a huge hack because I just don't have time to figure out another solution.
288-
ifeq ($(CFG_OSTYPE), apple-darwin)
289-
MAYBE_DIST_TAR_SRC=
290-
MAYBE_DISTCHECK_TAR_SRC=
291-
else
292-
MAYBE_DIST_TAR_SRC=dist-tar-src
293-
MAYBE_DISTCHECK_TAR_SRC=distcheck-tar-src
294-
endif
295-
296-
dist: $(MAYBE_DIST_TAR_SRC) dist-osx dist-tar-bins dist-docs
283+
dist: dist-tar-src dist-osx dist-tar-bins dist-docs
297284

298-
distcheck: $(MAYBE_DISTCHECK_TAR_SRC) distcheck-osx distcheck-tar-bins distcheck-docs
285+
distcheck: distcheck-tar-src distcheck-osx distcheck-tar-bins distcheck-docs
299286
$(Q)rm -Rf tmp/distcheck
300287
@echo
301288
@echo -----------------------------------------------

trunk/src/libserialize/json.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,8 @@ impl<'a> ::Encoder<io::IoError> for PrettyEncoder<'a> {
732732
}
733733
}
734734

735-
impl<E: ::Encoder<io::IoError>> Encodable<E, io::IoError> for Json {
736-
fn encode(&self, e: &mut E) -> EncodeResult {
735+
impl<E: ::Encoder<S>, S> Encodable<E, S> for Json {
736+
fn encode(&self, e: &mut E) -> Result<(), S> {
737737
match *self {
738738
Number(v) => v.encode(e),
739739
String(ref v) => v.encode(e),

0 commit comments

Comments
 (0)