]> git.lizzy.rs Git - rust.git/blobdiff - mk/target.mk
Link cstr from_bytes to tracking issue
[rust.git] / mk / target.mk
index 9d5e633c3c6c1745c28c313d0a0bfd676d730474..32a3eb5c20d2840c3f7e16772a83bfc3b4a417c9 100644 (file)
@@ -17,14 +17,6 @@ export CFG_COMPILER_HOST_TRIPLE
 export CFG_DEFAULT_LINKER
 export CFG_DEFAULT_AR
 
-# The standard libraries should be held up to a higher standard than any old
-# code, make sure that these common warnings are denied by default. These can
-# be overridden during development temporarily. For stage0, we allow warnings
-# which may be bugs in stage0 (should be fixed in stage1+)
-RUST_LIB_FLAGS_ST0 += -W warnings
-RUST_LIB_FLAGS_ST1 += -D warnings
-RUST_LIB_FLAGS_ST2 += -D warnings
-
 # Macro that generates the full list of dependencies for a crate at a particular
 # stage/target/host tuple.
 #
@@ -95,7 +87,6 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
                $$(RUSTFLAGS_$(4)) \
                $$(RUSTFLAGS$(1)_$(4)) \
                $$(RUSTFLAGS$(1)_$(4)_T_$(2)) \
-               $$(STDCPP_LIBDIR_RUSTFLAGS_$(2)) \
                --out-dir $$(@D) \
                -C extra-filename=-$$(CFG_FILENAME_EXTRA) \
                $$<
@@ -130,7 +121,6 @@ $$(TBIN$(1)_T_$(2)_H_$(3))/$(4)$$(X_$(2)): \
                | $$(TBIN$(1)_T_$(2)_H_$(3))/
        @$$(call E, rustc: $$@)
        $$(STAGE$(1)_T_$(2)_H_$(3)) \
-               $$(STDCPP_LIBDIR_RUSTFLAGS_$(2)) \
                $$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
                -o $$@ $$< --cfg $(4)