You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a design flaw in how kind=static works, via rustc bundling the library instead of asking the linker to link it. An unstable alternative is kind=static-nobundle which will link to the static library the normal way (tracking issue). Alternatively, just use kind=dylib for static libraries because on Windows the only difference between it and kind=static-nobundle is whether dllimport is applied to the symbols and for functions the linker is pretty lenient with that. Just never use kind=static.
It works fine when linking dynamic library. But when linking static library it will complains:
Although I have configured LIB and LIBPATH to the correct path.
The text was updated successfully, but these errors were encountered: