@@ -173,6 +173,7 @@ pub struct Target {
173
173
pub ndk : Option < PathBuf > ,
174
174
pub crt_static : Option < bool > ,
175
175
pub musl_root : Option < PathBuf > ,
176
+ pub musl_libdir : Option < PathBuf > ,
176
177
pub wasi_root : Option < PathBuf > ,
177
178
pub qemu_rootfs : Option < PathBuf > ,
178
179
pub no_std : bool ,
@@ -363,6 +364,7 @@ struct TomlTarget {
363
364
android_ndk : Option < String > ,
364
365
crt_static : Option < bool > ,
365
366
musl_root : Option < String > ,
367
+ musl_libdir : Option < String > ,
366
368
wasi_root : Option < String > ,
367
369
qemu_rootfs : Option < String > ,
368
370
no_std : Option < bool > ,
@@ -631,6 +633,7 @@ impl Config {
631
633
target. linker = cfg. linker . clone ( ) . map ( PathBuf :: from) ;
632
634
target. crt_static = cfg. crt_static ;
633
635
target. musl_root = cfg. musl_root . clone ( ) . map ( PathBuf :: from) ;
636
+ target. musl_libdir = cfg. musl_libdir . clone ( ) . map ( PathBuf :: from) ;
634
637
target. wasi_root = cfg. wasi_root . clone ( ) . map ( PathBuf :: from) ;
635
638
target. qemu_rootfs = cfg. qemu_rootfs . clone ( ) . map ( PathBuf :: from) ;
636
639
0 commit comments