Non-crates.io Rust Crate

10 views
Skip to first unread message

Justin Green

unread,
Oct 24, 2024, 4:16:21 PM10/24/24
to rust...@chromium.org
Hi!
I'm trying to add a Rust crate to Chrome that isn't going to be available on crates.io. I noticed the README in third_party/rust mentions needing to manually create a BUILD.gn file for that, but I can't find any documentation or examples on how to actually do that. Does anybody happen to have pointers on how I might get started on this?

Thanks,
Justin

Łukasz Anforowicz

unread,
Oct 24, 2024, 4:23:06 PM10/24/24
to Justin Green, rust...@chromium.org
I would start by:
Please shout if you run into any other questions or issues :-)

--
You received this message because you are subscribed to the Google Groups "rust-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rust-dev+u...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/rust-dev/CAKB94JZUGpOdeQ8jXfhxLFvmyCOS0fS9DMqzBWq1u_i0dEjDWw%40mail.gmail.com.

Justin Green

unread,
Nov 4, 2024, 9:58:08 AM11/4/24
to Łukasz Anforowicz, rust...@chromium.org
Forgot to follow up on this because I got pulled into other work, but thank you! Cargo-culting that example worked perfectly :-)

Reply all
Reply to author
Forward
0 new messages