aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/build.rs
Commit message (Collapse)AuthorAgeFilesLines
* compositor: Do not parse the Cargo.lock file while building (#33222)Martin Robinson2024-08-281-52/+0
| | | | | | | | | | | | | | | The compositor's `build.rs` script was parsing the `Cargo.lock` file in order to tag WebRender captures with the WebRender version. The embedder already knows what version of Servo we are using, which should be enough to infer the WebRender revision. This changes does that and generally does a bit of cleaning up of how captures are done. - The name of the capture directory is now `webrender-captures` - There is console output now when captures are done. Before it was hard to know if it succeeded. - Simplify the Compositor constructor a little to avoid passing arguments so much. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* clippy: fix some warnings in components/canvas (#31563)eri2024-03-081-3/+3
|
* Fix warnings introduced in newer Rust NightlySimon Sapin2021-02-251-1/+1
| | | | | | | | | | | | This does not (yet) upgrade ./rust-toolchain The warnings: * dead_code "field is never read" * redundant_semicolons "unnecessary trailing semicolon" * non_fmt_panic "panic message is not a string literal, this is no longer accepted in Rust 2021" * unstable_name_collisions "a method with this name may be added to the standard library in the future" * legacy_derive_helpers "derive helper attribute is used before it is introduced" https://github.com/rust-lang/rust/issues/79202
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+1
|
* Format remaining filesPyfisch2018-11-061-1/+2
|
* Format component compositing #21373kingdido9992018-08-311-8/+17
|
* refactor(build): generate revision into out_dirOJ Kwon2018-03-221-25/+4
|
* refactor(build): generate revision via build.rsOJ Kwon2018-03-221-0/+65