File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 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.
40784078 Rust code into an existing non-Rust application because it will not have
40794079 dynamic dependencies on other Rust code.
40804080
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+
40814087* ` --crate-type=rlib ` , ` #[crate_type = "rlib"] ` - A "Rust library" file will be
40824088 produced. This is used as an intermediate artifact and can be thought of as a
40834089 "static Rust library". These ` rlib ` files, unlike ` staticlib ` files, are
You can’t perform that action at this time.
0 commit comments