This message was deleted.
# sdk-rust
s
This message was deleted.
g
I saw, in the project rust-sdks, a script to build webrtc build_linux.sh (with gn arguments + patch-es), and I probably know how to update it to compile webrtc using
libc++
. This script is probably used only from
rust-sdks/.github/workflows/webrtc-builds.yml
→ them I think the webrtc library is 'pre-compiled' and downloading during 'cargo build' command.
b
Yes, the webrtc library is precompiled. I’m pretty sure there are other dependencies that use C++. This should be transparent for you if you configure cc.rs to use clang
You can use
cargo tree
to get the list of dependencies. Generally libraries ending with
-sys
are using C code
šŸ‘ 1
g
Thx. I'm close to indicating my WebTC library during the
cargo build
command. When I finish, I will show off what I needed to modify.
šŸ™ 1
šŸ‘ 1
I'm done, I compiled webrtc on linux with local clang12 and libc++, most of all changes is described in https://github.com/explaineverything/rust-sdks/releases/tag/ee-webrtc-d5afc4b-231208a0800 And I put (almost) all required changes in single commit: https://github.com/explaineverything/rust-sdks/commit/0922d7b38bd619d1fa6183043ef852591ea875e8 This may be a hint for some who will do something similar (e.g. update webrtc build), Still, using libc++ on Linux is not common, so I don't think it's worth merge it in any way, it should be treated more as a curiosity. cc: @boundless-energy-78552
šŸ™ 1
šŸ™Œ 1
@boundless-energy-78552 btw: Big thanks for the tips and finishing + merging support for the topic #256. šŸ’Ŗ
šŸŽ‰ 1
šŸ™Œ 1