Skip to content

Commit d365ec5

Browse files
committed
kill old serialization code
1 parent 3dca339 commit d365ec5

File tree

8 files changed

+1
-9870
lines changed

8 files changed

+1
-9870
lines changed

Makefile.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,7 @@ FUZZ := $(HBIN3_H_$(CFG_HOST_TRIPLE))/fuzzer$(X)
414414
CARGO := $(HBIN3_H_$(CFG_HOST_TRIPLE))/cargo$(X)
415415
RUSTDOC := $(HBIN3_H_$(CFG_HOST_TRIPLE))/rustdoc$(X)
416416

417-
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC) serializer
418-
419-
serializer: $(HBIN1_H_$(CFG_HOST_TRIPLE))/serializer$(X) \
420-
$(SREQ1_T_$(CFG_HOST_TRIPLE)_H_$(CFG_HOST_TRIPLE))
421-
# ^^ Note: we use HBIN1 because that is built by the snapshot compiler
422-
# and sometimes we need the serializer to build the later stages.
417+
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC)
423418

424419
endif
425420

mk/tools.mk

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ CARGO_INPUTS := $(wildcard $(S)src/cargo/*rs)
1616
RUSTDOC_CRATE := $(S)src/rustdoc/rustdoc.rc
1717
RUSTDOC_INPUTS := $(wildcard $(S)src/rustdoc/*.rs)
1818

19-
# Serializer, generates serialization code
20-
# (Should eventually move into a compiler ext)
21-
SERIALIZER_CRATE := $(S)src/serializer/serializer.rc
22-
SERIALIZER_INPUTS := $(wildcard $(S)src/serializer/*.rs)
23-
2419
# FIXME: These are only built for the host arch. Eventually we'll
2520
# have tools that need to built for other targets.
2621
define TOOLS_STAGE_N
@@ -88,21 +83,6 @@ $$(HBIN$(2)_H_$(4))/rustdoc$$(X): \
8883
@$$(call E, cp: $$@)
8984
$$(Q)cp $$< $$@
9085

91-
$$(TBIN$(1)_T_$(4)_H_$(3))/serializer$$(X): \
92-
$$(SERIALIZER_CRATE) $$(SERIALIZER_INPUTS) \
93-
$$(TSREQ$(1)_T_$(4)_H_$(3)) \
94-
$$(TLIB$(1)_T_$(4)_H_$(3))/$$(CFG_CORELIB) \
95-
$$(TLIB$(1)_T_$(4)_H_$(3))/$$(CFG_STDLIB) \
96-
$$(TLIB$(1)_T_$(4)_H_$(3))/$$(CFG_LIBRUSTC)
97-
@$$(call E, compile_and_link: $$@)
98-
$$(STAGE$(1)_T_$(4)_H_$(3)) -o $$@ $$<
99-
100-
$$(HBIN$(2)_H_$(4))/serializer$$(X): \
101-
$$(TBIN$(1)_T_$(4)_H_$(3))/serializer$$(X) \
102-
$$(HSREQ$(2)_H_$(4))
103-
@$$(call E, cp: $$@)
104-
$$(Q)cp $$< $$@
105-
10686
endef
10787

10888
$(foreach host,$(CFG_TARGET_TRIPLES), \

src/etc/gen-astencode

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

0 commit comments

Comments
 (0)