Skip to content

Commit f0ba69a

Browse files
committed
Remove the --no-core command-line option
It is superceeded by the #[no_core] attribute
1 parent a3beeac commit f0ba69a

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

mk/target.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_CORELIB): \
3131
$$(CORELIB_CRATE) $$(CORELIB_INPUTS) \
3232
$$(TSREQ$(1)_T_$(2)_H_$(3))
3333
@$$(call E, compile_and_link: $$@)
34-
$$(STAGE$(1)_T_$(2)_H_$(3)) --no-core -o $$@ $$< && touch $$@
34+
$$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< && touch $$@
3535

3636
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_STDLIB): \
3737
$$(STDLIB_CRATE) $$(STDLIB_INPUTS) \

mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ $(3)/test/coretest.stage$(1)-$(2)$$(X): \
196196
$$(CORELIB_CRATE) $$(CORELIB_INPUTS) \
197197
$$(SREQ$(1)_T_$(2)_H_$(3))
198198
@$$(call E, compile_and_link: $$@)
199-
$$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< --test --no-core
199+
$$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< --test
200200

201201
check-stage$(1)-T-$(2)-H-$(3)-core-dummy: \
202202
$(3)/test/coretest.stage$(1)-$(2)$$(X)

src/comp/driver/driver.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,7 @@ fn opts() -> [getopts::opt] {
494494
optmulti("cfg"), optflag("test"),
495495
optflag("lib"), optflag("bin"), optflag("static"), optflag("gc"),
496496
optflag("no-asm-comments"),
497-
optflag("warn-unused-imports"),
498-
// FIXME: Transitional. Please remove
499-
optflag("no-core")];
497+
optflag("warn-unused-imports")];
500498
}
501499

502500
type output_filenames = @{out_filename: str, obj_filename:str};

0 commit comments

Comments
 (0)