summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-04-27 18:34:49 -0400
committerGitHub <noreply@github.com>2022-04-27 18:34:49 -0400
commitd43bd6147ddf418f1f5a36b23384791d1d4846d7 (patch)
treea9e30f77aaa7369667fbb80e81e36b26cad37425 /.github
parent2b893ea6aa40102d5593eca3de31663b383b8315 (diff)
bug: change as_ref() to build in Rust beta 1.61.0 (#711)
This changes various as_ref() calls as needed in order for bottom to successfully build in Rust beta 1.61, as they were causing type inference issues. These calls were either removed or changed to an alternative that does build (e.g. as_slice()). Functionally, there should be no change. For context, see: - https://github.com/ClementTsang/bottom/issues/708 - https://github.com/rust-lang/rust/issues/96074
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e98db4bc..20747229 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -143,6 +143,26 @@ jobs:
rust: stable,
}
+ # Beta; should be allowed to fail.
+ - {
+ os: "ubuntu-latest",
+ target: "x86_64-unknown-linux-gnu",
+ cross: false,
+ rust: beta,
+ }
+ - {
+ os: "macOS-latest",
+ target: "x86_64-apple-darwin",
+ cross: false,
+ rust: beta,
+ }
+ - {
+ os: "windows-2019",
+ target: "x86_64-pc-windows-msvc",
+ cross: false,
+ rust: beta,
+ }
+
# aarch64
- {
os: "ubuntu-latest",