File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4078,6 +4078,12 @@ be ignored in favor of only building the artifacts specified by command line.
4078
4078
Rust code into an existing non-Rust application because it will not have
4079
4079
dynamic dependencies on other Rust code.
4080
4080
4081
+ * ` --crate-type=cdylib ` , ` #[crate_type = "cdylib"] ` - A dynamic system
4082
+ library will be produced. This is used when compiling Rust code as
4083
+ a dynamic library to be loaded from another language. This output type will
4084
+ create ` *.so ` files on Linux, ` *.dylib ` files on OSX, and ` *.dll ` files on
4085
+ Windows.
4086
+
4081
4087
* ` --crate-type=rlib ` , ` #[crate_type = "rlib"] ` - A "Rust library" file will be
4082
4088
produced. This is used as an intermediate artifact and can be thought of as a
4083
4089
"static Rust library". These ` rlib ` files, unlike ` staticlib ` files, are
You can’t perform that action at this time.
0 commit comments