Skip to content

remove cargokit in favor of native_toolchain_rust - #13

Open
nrbnlulu wants to merge 5 commits into
mainfrom
remove-cargokit
Open

remove cargokit in favor of native_toolchain_rust#13
nrbnlulu wants to merge 5 commits into
mainfrom
remove-cargokit

Conversation

@nrbnlulu

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project from Cargokit to Dart native assets for building and bundling the Rust library. It removes all Cargokit-related configuration files and scripts across all platforms, replacing them with a Dart build hook (hook/build.dart) that utilizes native_toolchain_rust. Feedback was provided regarding rust/rust-toolchain.toml, pointing out that the specified Rust version 1.90.0 is non-existent and will cause build failures, with a suggestion to use a valid stable version instead.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread rust/rust-toolchain.toml
[toolchain]
# WARNING: *do not* use `stable`, `beta`, or `nightly` (alone) for the channel!
# You must specify a version number/date in order to ensure reproducible builds.
channel = "1.90.0" # or newer. another example: `nightly-2025-01-01`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The Rust version 1.90.0 does not exist yet (the current stable version is around 1.84 / 1.85). Specifying a non-existent version in rust-toolchain.toml will cause rustup to fail immediately when building the project. Please use a valid, existing Rust version (e.g., 1.84.0 or 1.85.0).

Suggested change
channel = "1.90.0" # or newer. another example: `nightly-2025-01-01`
channel = "1.84.0" # or newer. another example: nightly-2025-01-01

nrbnlulu added 4 commits July 21, 2026 11:53
Add smoke tests for Linux, Windows, macOS, iOS, and Android platforms
in the CI pipeline, along with KVM setup for Android emulator support.
Update the Dart format task to include the integration_test directory
and reorder format dependencies to run flutter.fmt before rust.fmt.
These platforms are now handled entirely via Dart native assets (see
hook/build.dart), so declaring them in pubspec triggers CocoaPods to
compile an empty stub framework that shadows the native-assets-bundled
dylib at runtime.
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