Skip to content

Commit d0dff8f

Browse files
Make sure we build target-only things (e.g., docs) for host platforms too
1 parent 15adc2e commit d0dff8f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ jobs:
378378
- name: dist-x86_64-apple
379379
env:
380380
SCRIPT: "./x.py dist"
381-
RUST_CONFIGURE_ARGS: "--host=x86_64-apple-darwin --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
381+
RUST_CONFIGURE_ARGS: "--host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
382382
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
383383
MACOSX_DEPLOYMENT_TARGET: 10.7
384384
NO_LLVM_ASSERTIONS: 1
@@ -479,7 +479,7 @@ jobs:
479479
os: windows-latest-xl
480480
- name: dist-i686-msvc
481481
env:
482-
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc --host=i686-pc-windows-msvc --target=i586-pc-windows-msvc --enable-full-tools --enable-profiler"
482+
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc --host=i686-pc-windows-msvc --target=i686-pc-windows-msvc,i586-pc-windows-msvc --enable-full-tools --enable-profiler"
483483
SCRIPT: python x.py dist
484484
DIST_REQUIRE_ALL_TOOLS: 1
485485
os: windows-latest-xl

src/ci/azure-pipelines/auto.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
dist-x86_64-apple:
4848
SCRIPT: ./x.py dist
49-
INITIAL_RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
49+
INITIAL_RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
5050
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
5151
MACOSX_DEPLOYMENT_TARGET: 10.7
5252
NO_LLVM_ASSERTIONS: 1

src/ci/github-actions/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ jobs:
439439
- name: dist-x86_64-apple
440440
env:
441441
SCRIPT: ./x.py dist
442-
RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
442+
RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
443443
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
444444
MACOSX_DEPLOYMENT_TARGET: 10.7
445445
NO_LLVM_ASSERTIONS: 1
@@ -588,7 +588,7 @@ jobs:
588588
RUST_CONFIGURE_ARGS: >-
589589
--build=i686-pc-windows-msvc
590590
--host=i686-pc-windows-msvc
591-
--target=i586-pc-windows-msvc
591+
--target=i686-pc-windows-msvc,i586-pc-windows-msvc
592592
--enable-full-tools
593593
--enable-profiler
594594
SCRIPT: python x.py dist

0 commit comments

Comments
 (0)