From 607a12f4116ecf82241f3971e6b71be5af056f14 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Mon, 10 May 2021 12:10:28 +0200 Subject: [PATCH] Replace x86_64-sun-solaris with x86_64-pc-solaris https://github.com/rust-lang/rust/pull/82216 removed the x86_64-sun-solaris target from rustup, changing it to use x86_64-pc-solaris instead. Related issues: * https://github.com/rust-lang/rust/issues/85098 --- Cargo.toml | 2 +- Makefile | 2 +- ci/azure-cross-compile.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc262cc1d..f865315af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,7 @@ targets = [ "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", - "x86_64-sun-solaris", + "x86_64-pc-solaris", "x86_64-unknown-dragonfly", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu", diff --git a/Makefile b/Makefile index fb4453826..8f797612c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Targets available via Rustup that are supported. -TARGETS ?= "aarch64-apple-ios" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-pc-windows-msvc" "x86_64-sun-solaris" "x86_64-unknown-freebsd" "x86_64-unknown-linux-gnu" "x86_64-unknown-netbsd" +TARGETS ?= "aarch64-apple-ios" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-pc-windows-msvc" "x86_64-pc-solaris" "x86_64-unknown-freebsd" "x86_64-unknown-linux-gnu" "x86_64-unknown-netbsd" test: cargo test --all-features diff --git a/ci/azure-cross-compile.yml b/ci/azure-cross-compile.yml index 763828a43..73225df37 100644 --- a/ci/azure-cross-compile.yml +++ b/ci/azure-cross-compile.yml @@ -32,7 +32,7 @@ jobs: Solaris: vmImage: ubuntu-16.04 - target: x86_64-sun-solaris + target: x86_64-pc-solaris pool: vmImage: $(vmImage)