@@ -146,17 +146,24 @@ impl ProjectInfo {
146146 . map ( |t| t. dir . clone ( ) )
147147 . unwrap_or_else ( || options. host_tlib_path . dir . clone ( ) ) ;
148148 let prefix = & options. target . options . staticlib_prefix ;
149- info . used_deps
150- . push ( match options . target . options . panic_strategy {
151- PanicStrategy :: Abort => Dependency {
149+ match options . target . options . panic_strategy {
150+ PanicStrategy :: Abort => {
151+ info . used_deps . push ( Dependency {
152152 name : Symbol :: intern ( "panic_abort" ) ,
153153 source : Some ( fireflylib_dir. join ( & format ! ( "{}panic_abort.rlib" , prefix) ) ) ,
154- } ,
155- PanicStrategy :: Unwind => Dependency {
154+ } ) ;
155+ }
156+ PanicStrategy :: Unwind => {
157+ info. used_deps . push ( Dependency {
156158 name : Symbol :: intern ( "panic_unwind" ) ,
157159 source : Some ( fireflylib_dir. join ( & format ! ( "{}panic_unwind.rlib" , prefix) ) ) ,
158- } ,
159- } ) ;
160+ } ) ;
161+ info. used_deps . push ( Dependency {
162+ name : Symbol :: intern ( "unwind" ) ,
163+ source : Some ( fireflylib_dir. join ( & format ! ( "{}unwind.rlib" , prefix) ) ) ,
164+ } ) ;
165+ }
166+ }
160167 if options. target . options . is_like_wasm {
161168 info. used_deps . push ( Dependency {
162169 name : Symbol :: intern ( "firefly_emulator" ) ,
0 commit comments