Skip to content

Fix v1.1.0 Intel Mac OpenSSL cross-compile and Windows ssh2 build - #25

Merged
cursor[bot] merged 1 commit into
masterfrom
cursor/fix-v110-packaging-c2c5
Aug 18, 2026
Merged

Fix v1.1.0 Intel Mac OpenSSL cross-compile and Windows ssh2 build#25
cursor[bot] merged 1 commit into
masterfrom
cursor/fix-v110-packaging-c2c5

Conversation

@baseGame

Copy link
Copy Markdown
Collaborator

Summary

Fixes the two v1.1.0 Release job failures. Does not retag, bump the version, dispatch Release, or touch published Release assets. PR #23/#24 retention and prune behavior on master is unchanged.

Failure 1: Intel Mac (openssl-sys cross-compile)

macos-latest is ARM. The Intel job used --target x86_64-apple-darwin, so ssh2 / libssh2-sys / openssl-sys tried to cross-compile and failed (pkg-config has not been configured to support cross-compilation).

Change: run Intel natively on macos-15-intel with empty args / rust-target (same as Windows/Linux). Keep Apple Silicon on macos-latest with --target aarch64-apple-darwin.

Also rename invalid tauri-action input assetNamePatternreleaseAssetNamePattern (same pattern). The v1.1.0 log already warned about this.

Failure 2: Windows (RUSTFLAGS: -D warnings)

userauth_pubkey_memory is cfg-gated off on Windows ssh2 (needs OpenSSL). Unused path in restrict_file_permissions is unix-only.

Change: stage the in-memory private key to a restricted temp file and call the portable userauth_pubkey_file API, then delete the file. SFTP is not stubbed. On non-unix, restrict_file_permissions takes _path.

Type of change

  • Bug fix
  • Build, CI, or release

Validation

  • RUSTFLAGS='-D warnings' rustup run stable cargo test -p remote-core --locked — 46 passed

  • Did not dispatch Release and did not retag v1.1.0

  • corepack pnpm quality

  • corepack pnpm test

Checklist

  • I kept the change focused.
  • I added or updated tests where needed.
  • I checked that no sensitive data is included.
Open in Web Open in Cursor 

Run the Intel Mac job natively on macos-15-intel instead of
cross-compiling openssl-sys from ARM. Authenticate SFTP with
userauth_pubkey_file via a staged key so Windows ssh2 compiles
under RUSTFLAGS=-D warnings, and rename the tauri-action input
to releaseAssetNamePattern.

Co-authored-by: Yukon <baseGame@users.noreply.github.com>
@cursor
cursor Bot deleted the cursor/fix-v110-packaging-c2c5 branch August 18, 2026 13:50
@cursor
cursor Bot restored the cursor/fix-v110-packaging-c2c5 branch August 18, 2026 13:52
@cursor
cursor Bot marked this pull request as ready for review August 18, 2026 13:52
@cursor
cursor Bot merged commit 80116d8 into master Aug 18, 2026
1 check failed
@cursor
cursor Bot deleted the cursor/fix-v110-packaging-c2c5 branch August 18, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants