File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ environment:
104
104
DEPLOY : 1
105
105
- CI_JOB_NAME : dist-i686-mingw
106
106
MSYS_BITS : 32
107
- RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-full-tools
107
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler
108
108
SCRIPT : python x.py dist
109
109
MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
110
110
MINGW_ARCHIVE : i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
@@ -114,7 +114,7 @@ environment:
114
114
- CI_JOB_NAME : dist-x86_64-mingw
115
115
MSYS_BITS : 64
116
116
SCRIPT : python x.py dist
117
- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-full-tools
117
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler
118
118
MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
119
119
MINGW_ARCHIVE : x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
120
120
MINGW_DIR : mingw64
Original file line number Diff line number Diff line change @@ -41,7 +41,11 @@ fn main() {
41
41
cfg. flag ( "-fomit-frame-pointer" ) ;
42
42
cfg. flag ( "-ffreestanding" ) ;
43
43
cfg. define ( "VISIBILITY_HIDDEN" , None ) ;
44
- cfg. define ( "COMPILER_RT_HAS_UNAME" , Some ( "1" ) ) ;
44
+ if !target. contains ( "windows" ) {
45
+ cfg. define ( "COMPILER_RT_HAS_UNAME" , Some ( "1" ) ) ;
46
+ } else {
47
+ profile_sources. push ( "WindowsMMap.c" ) ;
48
+ }
45
49
}
46
50
47
51
// Assume that the Unixes we are building this for have fnctl() available
You can’t perform that action at this time.
0 commit comments