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
Creating library C:\Users\USER\AppData\Local\Temp\cargo-installBseKmu\release\deps\difft-31484d1ad26ac5fd.lib and object C:\Users\USER\AppData\Local\Temp\cargo-installBseKmu\release\deps\difft-31484d1ad26ac5fd.exp
difft-31484d1ad26ac5fd.difft.0e6903af-cgu.5.rcgu.o : error LNK2019: Unresolved external symbol tree_sitter_elm, which is referenced in function _ZN5difft18tree_sitter_parser13from_language17h203f9dc818c9c8b2E
difft-31484d1ad26ac5fd.difft.0e6903af-cgu.5.rcgu.o : error LNK2019: Unresolved external symbol tree_sitter_elm tree_sitter_commonlisp, which is referencced in function _ZN5difft18tree_sitter_parser13from_language17h203f9dc818c9c8b2E
difft-31484d1ad26ac5fd.difft.0e6903af-cgu.5.rcgu.o : error LNK2019: Unresolved external symbol tree_sitter_dart, which is referencced in function _ZN5difft18tree_sitter_parser13from_language17h203f9dc818c9c8b2E
difft-31484d1ad26ac5fd.difft.0e6903af-cgu.5.rcgu.o : error LNK2019: Unresolved external symbol tree_sitter_haskell, which is referencced in function _ZN5difft18tree_sitter_parser13from_language17h203f9dc818c9c8b2E
C:\Users\USER\AppData\Local\Temp\cargo-installBseKmu\release\deps\difft-31484d1ad26ac5fd.exe : fatal error LNK1120: 4 unresolved external commands
With cargo install difftastic --locked I get a different error:
A hint of possible reason (picked from releases note of rust 1.61):
Compatibility Notes
Previously native static libraries were linked as whole-archive in some cases, but now rustc tries not to use whole-archive unless explicitly requested. This rust-lang/rust#93901 may result in linking errors in some cases. To fix such errors, native libraries linked from the command line, build scripts, or #[link] attributes need to (more common) either be reordered to respect dependencies between them (if a depends on b then a should go first and b second) (less common) or be updated to use the +whole-archive modifier.
The text was updated successfully, but these errors were encountered:
It gives an error:
Translate to English:
With
cargo install difftastic --locked
I get a different error:Translate to English:
Version info about cargo and rustc:
A hint of possible reason (picked from releases note of rust 1.61):
Compatibility Notes
Previously native static libraries were linked as whole-archive in some cases, but now rustc tries not to use whole-archive unless explicitly requested. This rust-lang/rust#93901 may result in linking errors in some cases. To fix such errors, native libraries linked from the command line, build scripts, or #[link] attributes need to (more common) either be reordered to respect dependencies between them (if a depends on b then a should go first and b second) (less common) or be updated to use the +whole-archive modifier.
The text was updated successfully, but these errors were encountered: