We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 078d3b3 commit fe1c67fCopy full SHA for fe1c67f
src/sysroot.rs
@@ -299,7 +299,25 @@ pub fn update(
299
Err(e) => {
300
writeln!(
301
stderr,
302
- "Unable to copy the directory 'bin' from sysroot: {}",
+ "Unable to copy the directory 'bin' in 'lib/rustlib' from sysroot: {}",
303
+ e
304
+ )
305
+ .ok();
306
+ }
307
+ };
308
+ match util::cp_r(
309
+ &sysroot
310
+ .path()
311
+ .join("bin/rustlib")
312
+ .join(&meta.host)
313
+ .join("bin"),
314
+ &bin_dst,
315
+ ) {
316
+ Ok(()) => {}
317
+ Err(e) => {
318
+ writeln!(
319
+ stderr,
320
+ "Unable to copy the directory 'bin' in 'bin/rustlib' from sysroot: {}",
321
e
322
)
323
.ok();
0 commit comments