File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
use std:: { path:: PathBuf , vec} ;
4
4
5
5
use miette:: { Context , IntoDiagnostic } ;
6
- use rattler_conda_types:: { Channel , MatchSpec , package:: PathsJson } ;
6
+ use rattler_conda_types:: { Channel , MatchSpec , Platform , package:: PathsJson } ;
7
7
8
8
use crate :: {
9
9
metadata:: { Output , build_reindexed_channels} ,
@@ -152,15 +152,16 @@ pub async fn run_build(
152
152
153
153
// Check for binary prefix if configured
154
154
if tool_configuration. error_prefix_in_binary {
155
- tracing:: info!( "Checking for host prefix in binary files..." ) ;
155
+ tracing:: info!( "Checking for embedded prefix in binary files..." ) ;
156
156
check_for_binary_prefix ( & output, & paths_json) ?;
157
157
}
158
158
159
159
// Check for symlinks on Windows if not allowed
160
- if output. build_configuration . target_platform . is_windows ( )
160
+ if ( output. build_configuration . target_platform . is_windows ( )
161
+ || output. build_configuration . target_platform == Platform :: NoArch )
161
162
&& !tool_configuration. allow_symlinks_on_windows
162
163
{
163
- tracing:: info!( "Checking for symlinks in Windows package ..." ) ;
164
+ tracing:: info!( "Checking for symlinks ..." ) ;
164
165
check_for_symlinks_on_windows ( & output, & paths_json) ?;
165
166
}
166
167
You can’t perform that action at this time.
0 commit comments