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
When I use this warehouse to create a static library, the compilation is successful. However, when I connect this static library to a driver (written in c/cpp/rust), a connection error occurs.
D:\git\gitlab\code\test\rust\src\wdm_rs>cargo build
Compiling wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs)
Compiling wdk-sys v0.2.0
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
error: language item required, but not found: `eh_personality`
|
= note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
= help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
The following warnings were emitted during compilation:
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
warning: [email protected]: cargo:rustc-cdylib-link-arg was specified in the build script of wdm_lib_rs v0.1.0 (D:\git\gitlab\code\test\rust\src\wdm_lib_rs), but that package does not contain a cdylib target
Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.
error: could not compile `wdm_lib_rs` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
D:\git\gitlab\code\test\rust\src\wdm_rs>
The text was updated successfully, but these errors were encountered:
When I use this warehouse to create a static library, the compilation is successful. However, when I connect this static library to a driver (written in c/cpp/rust), a connection error occurs.
The text was updated successfully, but these errors were encountered: