@@ -173,6 +173,7 @@ pub struct Target {
173173 pub ndk : Option < PathBuf > ,
174174 pub crt_static : Option < bool > ,
175175 pub musl_root : Option < PathBuf > ,
176+ pub musl_libdir : Option < PathBuf > ,
176177 pub wasi_root : Option < PathBuf > ,
177178 pub qemu_rootfs : Option < PathBuf > ,
178179 pub no_std : bool ,
@@ -363,6 +364,7 @@ struct TomlTarget {
363364 android_ndk : Option < String > ,
364365 crt_static : Option < bool > ,
365366 musl_root : Option < String > ,
367+ musl_libdir : Option < String > ,
366368 wasi_root : Option < String > ,
367369 qemu_rootfs : Option < String > ,
368370 no_std : Option < bool > ,
@@ -631,6 +633,7 @@ impl Config {
631633 target. linker = cfg. linker . clone ( ) . map ( PathBuf :: from) ;
632634 target. crt_static = cfg. crt_static ;
633635 target. musl_root = cfg. musl_root . clone ( ) . map ( PathBuf :: from) ;
636+ target. musl_libdir = cfg. musl_libdir . clone ( ) . map ( PathBuf :: from) ;
634637 target. wasi_root = cfg. wasi_root . clone ( ) . map ( PathBuf :: from) ;
635638 target. qemu_rootfs = cfg. qemu_rootfs . clone ( ) . map ( PathBuf :: from) ;
636639
0 commit comments