We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0897e3 + ec1fc52 commit fb0b35cCopy full SHA for fb0b35c
super_native_extensions/cargokit/build_tool/lib/src/builder.dart
@@ -148,7 +148,9 @@ class RustBuilder {
148
'run',
149
_toolchain,
150
'cargo',
151
- environment.glibcVersion != null ? 'zigbuild' : 'build',
+ (target.android == null && environment.glibcVersion != null)
152
+ ? 'zigbuild'
153
+ : 'build',
154
...extraArgs,
155
'--manifest-path',
156
manifestPath,
@@ -157,7 +159,7 @@ class RustBuilder {
157
159
if (!environment.configuration.isDebug) '--release',
158
160
'--target',
161
target.rust +
- (environment.glibcVersion != null
162
+ ((target.android == null && environment.glibcVersion != null)
163
? '.${environment.glibcVersion!}'
164
: ""),
165
'--target-dir',
0 commit comments