xref: /aosp_15_r20/external/crosvm/common/chromeos_warning.md (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1*bb4ee6a4SAndroid Build Coastguard Worker# Warning
2*bb4ee6a4SAndroid Build Coastguard Worker
3*bb4ee6a4SAndroid Build Coastguard WorkerThese crates are shared with ChromeOS and used by other ChromeOS Rust projects. However since crosvm
4*bb4ee6a4SAndroid Build Coastguard Workeris refactoring this part of the code heavily, ChromeOS has pinned the version of some of these
5*bb4ee6a4SAndroid Build Coastguard Workercrates:
6*bb4ee6a4SAndroid Build Coastguard Worker
7*bb4ee6a4SAndroid Build Coastguard Worker- cros_async
8*bb4ee6a4SAndroid Build Coastguard Worker- data_model
9*bb4ee6a4SAndroid Build Coastguard Worker- io_uring
10*bb4ee6a4SAndroid Build Coastguard Worker- sync
11*bb4ee6a4SAndroid Build Coastguard Worker- sys_util
12*bb4ee6a4SAndroid Build Coastguard Worker- sys_util_core
13*bb4ee6a4SAndroid Build Coastguard Worker
14*bb4ee6a4SAndroid Build Coastguard WorkerModifications made here will not be available for other ChromeOS projects.
15*bb4ee6a4SAndroid Build Coastguard Worker
16*bb4ee6a4SAndroid Build Coastguard WorkerIf you are looking for a place to add new ChromeOS-specific utilities, please consider
17*bb4ee6a4SAndroid Build Coastguard Worker[libchromeos-rs](https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/libchromeos-rs).
18*bb4ee6a4SAndroid Build Coastguard Worker
19*bb4ee6a4SAndroid Build Coastguard WorkerIf modifications to these crates cannot be avoided, consider manually updating the revision in the
20*bb4ee6a4SAndroid Build Coastguard Workercorresponding ebuild file, which may come with a significant need for refactoring.
21*bb4ee6a4SAndroid Build Coastguard Worker
22*bb4ee6a4SAndroid Build Coastguard WorkerAlternatively, for small changes consider adding a patch file into the corresponding ebuild file
23*bb4ee6a4SAndroid Build Coastguard Workerinstead.
24*bb4ee6a4SAndroid Build Coastguard Worker
25*bb4ee6a4SAndroid Build Coastguard WorkerSee [b/229016539](http://b/229016539) for details.
26