Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: new recipe with pre-built binaries #20991

Closed
wants to merge 23 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Nov 8, 2023

Adds Rust toolchain. Mostly for librsvg.

Rust is quite straightforward to build from sources, but due to being based on LLVM, the memory consumption in C3I will almost certainly exceed its limits. It also builds slowly: 20+ minutes locally and probably 1.5 h or more in CI.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Nov 8, 2023

Hooks produced the following warnings for commit f8ec7c9
rust/1.73.0@#8f7fd451fbaf94e8b2ee3487daa6b1f5
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Hooks produced the following warnings for commit add4efe
rust/1.73.0@#961f0595afad29dbb1cc22cd8482bda7
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libtest-1c1e90653c657ff2.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1c1e90653c657ff2.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libtest-1c1e90653c657ff2.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1c1e90653c657ff2.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 154fe97
rust/1.73.0@#751ae503c2fb008806562267d1074ce5
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'rt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libtest-1c1e90653c657ff2.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1c1e90653c657ff2.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'pthread' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libtest-1c1e90653c657ff2.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1c1e90653c657ff2.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libstd-6498d8891e016dca.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librustc_driver-453cf35e1dd187fa.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6498d8891e016dca.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-17-rust-1.73.0-stable.so' links to system library 'dl' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-ecc82c9d925511c8.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-287abad1c0bdb9b8.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.

@uilianries uilianries self-assigned this Nov 13, 2023
@uilianries
Copy link
Member

The librsvg has C files, that can be built without Rust. I'll add to discuss with Conan team about this PR, as Rust is not supported by Conan.

@valgur Do really need Rust for a project, or only due librsvg?

@valgur
Copy link
Contributor Author

valgur commented Nov 13, 2023

The librsvg has C files, that can be built without Rust. I'll add to discuss with Conan team about this PR, as Rust is not supported by Conan.

@valgur Do really need Rust for a project, or only due librsvg?

Are you sure? The C portion of the library is just a wrapper around the Rust library, as far as I can tell. See also the related librsvg PR: #21005

I don't have any immediate need for Rust besides librsvg, but I think it's a common and important enough library to warrant Rust support in CCI.

As a build tool dependency, Rust is very well-behaved and comparable to CMake or Ninja. Binaries produced by Rust link statically against Rust's libstd by default. The only minor issues I can think of are (1) the size of the Rust package (300 MB) which can become a nuisance if multiple different versions are kept in the cache, (2) Rust caches its Cargo packages inside the home directory, which can be unexpected and unwanted, (3) cross-compiling might be difficult.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting your pull request. After discussing it with the Conan team, we have reservations about accepting it in the short to medium term. This hesitation stems from potential issues arising after the implementation is integrated into the Conan Center.

The Rust toolkit provides libraries that may have runtime dependencies, and these dependencies are currently not adequately tracked by the package settings due to the existing design. This fragility could lead to misconfigurations with the package ID, posing challenges to the overall stability and reliability of the users.

@uilianries uilianries added the blocked Affected by an external issue and waiting until it is solved label Nov 16, 2023
@valgur
Copy link
Contributor Author

valgur commented Nov 16, 2023

The Rust toolkit provides libraries that may have runtime dependencies, and these dependencies are currently not adequately tracked by the package settings due to the existing design. This fragility could lead to misconfigurations with the package ID, posing challenges to the overall stability and reliability of the users.

@uilianries That's a valid concern, for sure, but shouldn't the potential runtime dependency issues be looked at the consuming recipes case-by-case, instead? As I mentioned, the default in Rust is to link its dependencies statically, after all.

@valgur
Copy link
Contributor Author

valgur commented Jan 12, 2024

The Rust toolkit provides libraries that may have runtime dependencies, and these dependencies are currently not adequately tracked by the package settings due to the existing design. This fragility could lead to misconfigurations with the package ID, posing challenges to the overall stability and reliability of the users.

And these packages will fail in test_package due to a missing runtime or a static library, simple is that. At the end of the day it's no different from a Makefile linking together a set of libraries. It's the responsibility of the consumer to ensure that all dependencies are tracked correctly in package_info().

As I mentioned earlier, Rust is one of the easier cases thanks to static linking being the default. Not that it's any excuse to be sloppy here, but for contrast, the far more common gcc package is currently 100% broken and nearly unusable thanks to the runtime libraries not being exported as transitive dependencies (which #21193 is hoping to fix).

@uilianries @franramirez688 @jcar87 Don't let the perfect be the enemy of good. I suggest we add a disclaimer to the package description that the Rust package is experimental and should only be used to build C/C++-ABI shared libraries with a statically-linked stdlib and not for packaging any Rust libraries.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Apr 4, 2024

Hooks produced the following warnings for commit 88c363c
rust/1.77.1@#c5a16d00c5a7c605d29934fb908e9d37
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Apr 5, 2024

Hooks produced the following warnings for commit a45d789
rust/1.77.1@#c5a16d00c5a7c605d29934fb908e9d37
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 6 (3481f3fe4df815c630c40f0cff4e178deb546313):

  • rust/1.72.1:
    All packages built successfully! (All logs)

  • rust/1.77.1:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 6 (3481f3fe4df815c630c40f0cff4e178deb546313):

  • rust/1.72.1:
    All packages built successfully! (All logs)

  • rust/1.77.1:
    All packages built successfully! (All logs)

Copy link
Contributor

github-actions bot commented Apr 5, 2024

Hooks produced the following warnings for commit 3481f3f
rust/1.72.1@#2625f5f1b7c6d8f59067a59862f983a8
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-6d80dd4621b609ca.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-6d80dd4621b609ca.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-452a5e03f6b09d44.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-6d80dd4621b609ca.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-6d80dd4621b609ca.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-452a5e03f6b09d44.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-6d80dd4621b609ca.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-6d80dd4621b609ca.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
rust/1.77.1@#c5a16d00c5a7c605d29934fb908e9d37
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'bcrypt' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'ws2_32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\rustc_driver-700515045aafa515.dll' links to system library 'psapi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\lib\rustlib\x86_64-pc-windows-msvc\lib\std-af7a289140bfd09b.dll' links to system library 'userenv' but it is not in cpp_info.system_libs.

@jcar87
Copy link
Contributor

jcar87 commented Apr 30, 2024

Closing echoing @uilianries message. This is not something we are prioritising right now. I would suggest to open an issue so that other uses can articulate their needs for a rust recipe, which we may consider in the future.

@jcar87 jcar87 closed this Apr 30, 2024
@valgur
Copy link
Contributor Author

valgur commented Apr 30, 2024

@jcar87 This is a fully functional recipe and a perfectly fine location for discussion you suggested, I think. Could you please keep it open for the time being until external toolchain support is on you radar?

@valgur valgur mentioned this pull request May 13, 2024
3 tasks
@valgur valgur mentioned this pull request Jul 16, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Affected by an external issue and waiting until it is solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants