@@ -238,7 +238,7 @@ def items_target(self):
238238 # AFAIK, when there are multiple "kind" values, this only happens
239239 # when there are multiple library kinds.
240240 kind = target ['kind' ][0 ]
241- if kind in ('lib' , 'rlib' , 'dylib' , 'staticlib' , 'proc-macro' ):
241+ if kind in ('lib' , 'rlib' , 'dylib' , 'cdylib' , ' staticlib' , 'proc-macro' ):
242242 kinds .setdefault ('lib' , []).append (('Lib' , '--lib' ))
243243 elif kind in ('bin' , 'test' , 'example' , 'bench' ):
244244 text = '%s: %s' % (kind .capitalize (), target ['name' ])
@@ -915,7 +915,7 @@ def get_cargo_metadata(window, cwd):
915915 - kind: List of kinds. May contain multiple entries if
916916 `crate-type` specifies multiple values in Cargo.toml.
917917 Lots of different types of values:
918- - Libraries: 'lib', 'rlib', 'dylib', 'staticlib',
918+ - Libraries: 'lib', 'rlib', 'dylib', 'cdylib', ' staticlib',
919919 'proc-macro'
920920 - Executables: 'bin', 'test', 'example', 'bench'
921921 - build.rs: 'custom-build'
0 commit comments