Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,17 @@ jobs:

# Ensure there are no clippy warnings
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: Linux x86_64
os: ubuntu-latest
- name: macOS aarch64
os: macos-14
- name: Windows x86_64 MSVC
os: windows-latest
name: Clippy ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- run: rustup update stable && rustup default stable
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/script/cargo.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use std::fs;
use std::io::Write;

use crate::prelude::*;
use cargo_test_support::basic_manifest;
Expand Down Expand Up @@ -2179,6 +2178,7 @@ args: []
#[cargo_test(nightly, reason = "-Zscript is unstable")]
#[cfg(target_os = "linux")]
fn memfd_script() {
use std::io::Write;
use std::os::fd::AsRawFd;

let fd = memfd::MemfdOptions::new()
Expand Down