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

[native_toolchain_c] Bump deps #148

Merged
merged 1 commit into from
Oct 3, 2023
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
4 changes: 4 additions & 0 deletions pkgs/native_toolchain_c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.0

- Bump `package:native_assets_cli` to 0.3.0.

## 0.2.5

- Explicitly tell linker to create position dependent or position independent executable
Expand Down
4 changes: 2 additions & 2 deletions pkgs/native_toolchain_c/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: native_toolchain_c
description: >-
A library to invoke the native C compiler installed on the host machine.
version: 0.2.5
version: 0.3.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_toolchain_c

topics:
Expand All @@ -19,7 +19,7 @@ dependencies:
glob: ^2.1.1
logging: ^1.1.1
meta: ^1.9.1
native_assets_cli: ^0.2.0
native_assets_cli: ^0.3.0
pub_semver: ^2.1.3

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Future<Uri> buildLib(

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: target.architecture,
targetOs: target.os,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void main() {
packageUri.resolve('test/cbuilder/testfiles/add/src/add.c');
final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: target.architecture,
targetOs: target.os,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: target.architecture,
targetOs: target.os,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: target.architecture,
targetOs: target.os,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetOs: target.os,
targetArchitecture: target.architecture,
Expand Down
9 changes: 9 additions & 0 deletions pkgs/native_toolchain_c/test/cbuilder/cbuilder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -116,12 +117,14 @@ void main() {
final buildConfig = dryRun
? BuildConfig.dryRun(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetOs: OS.current,
linkModePreference: LinkModePreference.dynamic,
)
: BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -213,6 +216,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -271,6 +275,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -315,6 +320,7 @@ void main() {

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -373,6 +379,7 @@ void main() {
final buildConfig = BuildConfig(
buildMode: BuildMode.release,
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -437,6 +444,7 @@ void main() {
final buildConfig = BuildConfig(
buildMode: BuildMode.release,
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down Expand Up @@ -506,6 +514,7 @@ Future<void> testDefines({

final buildConfig = BuildConfig(
outDir: tempUri,
packageName: name,
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void main() {
].firstOrNull?.uri;
final buildConfig = BuildConfig(
outDir: tempUri,
packageName: 'dummy',
packageRoot: tempUri,
targetArchitecture: Architecture.current,
targetOs: OS.current,
Expand All @@ -65,6 +66,7 @@ void main() {
final tempUri = await tempDirForTest();
final buildConfig = BuildConfig(
outDir: tempUri,
packageName: 'dummy',
packageRoot: tempUri,
targetArchitecture: Architecture.arm64,
targetOs: OS.windows,
Expand Down