Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all packages #4

Open
wants to merge 1 commit into
base: empty_repository
Choose a base branch
from
Open

Add all packages #4

wants to merge 1 commit into from

Conversation

knopp
Copy link
Contributor

@knopp knopp commented May 3, 2024

No description provided.

Copy link

@mosuem mosuem left a comment

Choose a reason for hiding this comment

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

Really cool stuff!

You are running the tests for different platforms, might want to also test the lower SDK bounds, and check if pub downgrade breaks anything.

@@ -0,0 +1,39 @@
<!--
Copy link

Choose a reason for hiding this comment

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

An actual readme would be nice ;)

example/dart_package/hook/build.dart Show resolved Hide resolved
example/dart_package/lib/dart_package.dart Show resolved Hide resolved
native_doctor/README.md Show resolved Hide resolved
native_doctor/lib/src/native_doctor.dart Show resolved Hide resolved
native_toolchain_rust/lib/src/builder.dart Show resolved Hide resolved
native_toolchain_rust/lib/src/builder.dart Show resolved Hide resolved
native_toolchain_rust/lib/src/builder.dart Show resolved Hide resolved
}

if (!buildConfig.dryRun) {
await toolchain.toolchain.rustup.runCommand(
Copy link

Choose a reason for hiding this comment

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

For my use case specifically, I probably want to pass some more arguments to cargo, see https://github.com/dart-lang/i18n/blob/main/.github/workflows/intl4x_artifacts.yml. Maybe adding a field List<String> additionalFlags to the RustBuilder might help? I don't know if the order of args matters - that would make things more complicated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Extra cargo arguments are missing. This slipped my mind. I couldn't even port super_native_extensions (the primary use-case for us right now) to native assets without this.

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.

3 participants