diff --git a/src/librustc_target/spec/windows_gnu_base.rs b/src/librustc_target/spec/windows_gnu_base.rs index 69236e98e58d7..ba574ad433e10 100644 --- a/src/librustc_target/spec/windows_gnu_base.rs +++ b/src/librustc_target/spec/windows_gnu_base.rs @@ -66,8 +66,6 @@ pub fn opts() -> TargetOptions { ); TargetOptions { - // FIXME(#13846) this should be enabled for windows - function_sections: false, linker: Some("gcc".to_string()), dynamic_linking: true, executables: true, diff --git a/src/test/run-make-fulldeps/stable-symbol-names/Makefile b/src/test/run-make-fulldeps/stable-symbol-names/Makefile index 451af809b2223..e393684024bde 100644 --- a/src/test/run-make-fulldeps/stable-symbol-names/Makefile +++ b/src/test/run-make-fulldeps/stable-symbol-names/Makefile @@ -9,7 +9,7 @@ # 4. sort those symbol names for deterministic comparison # 5. write the result into a file -dump-symbols = nm "$(TMPDIR)/lib$(1).rlib" \ +dump-symbols = nm -g "$(TMPDIR)/lib$(1).rlib" \ | grep -E "$(2)" \ | sed -E "s/.*(_ZN.*E|_R[a-zA-Z0-9_]*).*/\1/" \ | sort \