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