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: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
include:
- target: x86_64-apple-darwin
- target: aarch64-apple-darwin
runs-on: macos-15
runs-on: macos-26
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1
with:
xcode-version: '16.4.0'
xcode-version: '26.1.0'
- run: TARGET=${{ matrix.target }} RUST_VERSION=nightly ci/run.sh

target_test:
Expand All @@ -29,21 +29,21 @@ jobs:
- aarch64-apple-ios
- aarch64-apple-ios-sim
- x86_64-apple-ios
runs-on: macos-15
runs-on: macos-26
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1
with:
xcode-version: '16.4.0'
xcode-version: '26.1.0'
- run: TARGET=${{ matrix.target }} RUST_VERSION=nightly NOCTEST=1 NORUN=1 ci/run.sh

style_check:
runs-on: macos-15
runs-on: macos-26
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1
with:
xcode-version: '16.4.0'
xcode-version: '26.1.0'
- run: rustup component add rustfmt clippy
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace -- -D warnings
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build:
runs-on: macos-15
runs-on: macos-26

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
Expand Down
1 change: 1 addition & 0 deletions mach-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ fn main() {

// FIXME: Unavailable since Xcode 14:
"EXC_CORPSE_VARIANT_BIT" if xcode >= Xcode(14, 0) => true,

_ => false,
});

Expand Down
5 changes: 2 additions & 3 deletions mach-test/test/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ use mach2::memory_object_types::*;
use mach2::message::*;
use mach2::ndr::*;
use mach2::port::*;
// FIXME: semaphore is not used => not tested?
#[allow(unused_imports)]
use mach2::semaphore::*;
use mach2::structs::*;
use mach2::sync_policy::*;
Expand All @@ -44,9 +46,6 @@ use mach2::vm_statistics::*;
use mach2::vm_sync::*;
use mach2::vm_types::*;

// These types are not re-exported by mach2::types but they are required.
use libc::{c_int, c_uchar, c_uint, c_ulonglong, clock_t};

// Imported by mach, but kept private:
unsafe extern "C" {
static mach_task_self_: mach_port_t;
Expand Down
Loading