练习
将 uwuify 添加到 Chromium,以停用 crate 的 默认功能。假设该 crate 会交付 Chromium 时被使用,但不会用于处理不可信的输入内容。
(在下一个练习中,我们将使用 Chromium 中的 uwuify;但您也可以跳过这一步,现在就开始此操作。或者,您可以创建一个使用 uwuify 的新 rust_executable 目标。
Students will need to download lots of transitive dependencies.
The total crates needed are:
instant,lock_api,parking_lot,parking_lot_core,redox_syscall,scopeguard,smallvec, anduwuify.
If students are downloading even more than that, they probably forgot to turn off the default features.
Thanks to Daniel Liu for this crate!