-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dockerfile and patches for building Chromium with rav1d #519
base: main
Are you sure you want to change the base?
Conversation
|
diff --git a/third_party/rust/rav1d/v1/crate/Cargo.toml b/third_party/rust/rav1d/v1/crate/Cargo.toml | ||
--- a/third_party/rust/rav1d/v1/crate/Cargo.toml | ||
+++ b/third_party/rust/rav1d/v1/crate/Cargo.toml | ||
@@ -1,7 +1,7 @@ | ||
[workspace] | ||
members = [] | ||
[package] | ||
-name = "c2rust_out" | ||
+name = "rav1d" | ||
authors = ["C2Rust"] | ||
-version = "0.0.0" | ||
+version = "1.0.0" | ||
publish = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part we can just modify in rav1d
directly, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we probably should.
This just cleans up `Cargo.toml`, which was still mostly generated by `c2rust transpile`. The package is now named `rav1d` (like the `lib` was already changed to) and I set the version to `0.2.0` for future publishing (and so things like #519 don't need to patch it). The existing `rav1d` crate is at `0.1.0`, and so since we plan on publishing there, we can start at `0.2.0`. I also fixed some doc comments so `cargo test` can run.
then
xhost +
on the host (TODO: get.Xauthority
to work) andor