Skip to content

Require Rust 1.99.1 and pin the plugin releases built with it - #1475

Open
slopbot9k wants to merge 2 commits into
cypherstack:stagingfrom
slopbot9k:rust-1.99.1
Open

slopbot9k wants to merge 2 commits into
cypherstack:stagingfrom
slopbot9k:rust-1.99.1

Conversation

@slopbot9k

Copy link
Copy Markdown

Rust releases before 1.98 strip release-profile debuginfo on Apple targets with the bundled rust-objcopy, which can leave the Mach-O __LINKEDIT string pool 4-byte aligned. Libraries built that way against the iOS 27 / macOS 27 SDKs are rejected by dyld ("mis-aligned LINKEDIT string pool") and by Xcode 27's ld. Rust 1.98.0 fixed the layout (rust-lang/rust#157750).

All five Rust plugins now pin Rust 1.99.1, so pin the matching commits and the prebuilt releases produced with that toolchain:

  • tor_ffi_plugin 0.2.0 (e30ed0d), prebuilts native-0.2.0
  • flutter_libepiccash d5cfb76, prebuilts native-0.3.0-1
  • flutter_libmwc d8c5d54, prebuilts native-0.1.7
  • frostdart c8be6a0
  • xelis_wallet_flutter 8630a2c (cypherstack fork of v0.4.1)

Install Rust 1.99.1 in every stage of the CI image, in the CI workflow and in the build docs in place of 1.89.0 / 1.90.0.

tor_ffi_plugin 0.2.0 makes Tor.disable() the same operation as Tor.stop() and returns a Future, so TorService.disable() awaits a single stop instead of calling disable() unawaited and then stop(). Tor.start() now gives bootstrap a two-minute default deadline instead of waiting indefinitely; TorService.start() already reports the failure and rethrows.

Rust releases before 1.98 strip release-profile debuginfo on Apple
targets with the bundled rust-objcopy, which can leave the Mach-O
__LINKEDIT string pool 4-byte aligned. Libraries built that way against
the iOS 27 / macOS 27 SDKs are rejected by dyld ("mis-aligned LINKEDIT
string pool") and by Xcode 27's ld. Rust 1.98.0 fixed the layout
(rust-lang/rust#157750).

All five Rust plugins now pin Rust 1.99.1, so pin the matching commits
and the prebuilt releases produced with that toolchain:

- tor_ffi_plugin 0.2.0 (e30ed0d), prebuilts native-0.2.0
- flutter_libepiccash d5cfb76, prebuilts native-0.3.0-1
- flutter_libmwc d8c5d54, prebuilts native-0.1.7
- frostdart c8be6a0
- xelis_wallet_flutter 8630a2c (cypherstack fork of v0.4.1)

Install Rust 1.99.1 in every stage of the CI image, in the CI workflow
and in the build docs in place of 1.89.0 / 1.90.0.

tor_ffi_plugin 0.2.0 makes Tor.disable() the same operation as
Tor.stop() and returns a Future, so TorService.disable() awaits a single
stop instead of calling disable() unawaited and then stop(). Tor.start()
now gives bootstrap a two-minute default deadline instead of waiting
indefinitely; TorService.start() already reports the failure and
rethrows.
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.

1 participant