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.
1 parent 7e2b368 commit 0ade018Copy full SHA for 0ade018
crates/pixi-build-python/src/python.rs
@@ -239,8 +239,11 @@ pub(crate) fn construct_configuration(
239
params: BuildConfigurationParams,
240
) -> BuildConfiguration {
241
BuildConfiguration {
242
- // TODO: NoArch??
243
- target_platform: Platform::NoArch,
+ target_platform: if recipe.build.noarch == NoArchType::none() {
+ params.host_platform.platform
244
+ } else {
245
+ Platform::NoArch
246
+ },
247
host_platform: params.host_platform,
248
build_platform: params.build_platform,
249
hash: HashInfo::from_variant(¶ms.variant, &recipe.build.noarch),
0 commit comments