diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ace3dd2c..3dcdce94 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,6 +31,7 @@ jobs: parameters: toolchain: stable name: stable + cross: true - template: ci/azure-test.yml parameters: toolchain: beta @@ -39,7 +40,6 @@ jobs: parameters: toolchain: nightly name: nightly - cross: true - job: compiletest pool: diff --git a/ci/azure-test.yml b/ci/azure-test.yml index 82ebe379..eb8f1dd6 100644 --- a/ci/azure-test.yml +++ b/ci/azure-test.yml @@ -27,8 +27,12 @@ jobs: - ${{ if eq(parameters.toolchain, 'nightly') }}: - script: | - RUSTFLAGS='-Dwarnings -Zallow-features=proc_macro_hygiene,stmt_expr_attributes' cargo ${{ parameters.cmd }} --all --all-features - displayName: cargo ${{ parameters.cmd }} -Zallow-features + RUSTFLAGS='-Dwarnings --cfg pin_project_show_unpin_struct' cargo ${{ parameters.cmd }} --all --all-features + displayName: cargo ${{ parameters.cmd }} --cfg pin_project_show_unpin_struct + + - script: | + RUSTFLAGS='-Dwarnings -Zallow-features=proc_macro_hygiene,stmt_expr_attributes' cargo check --all --all-features + displayName: cargo check -Zallow-features # Refs: https://github.com/rust-lang/cargo/issues/5657 - script: |