mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Bug 1900522 Part 3 - Update autogen_warning in servo/ports/geckolib/cbindgen.toml. r=layout-reviewers,emilio
We don't need to manually generate `ServoStyleConsts.h`. Update the warning to avoid confusion. Differential Revision: https://phabricator.services.mozilla.com/D212506
This commit is contained in:
parent
72d1c570e6
commit
3774687f4b
@ -19,11 +19,8 @@ trailer = """
|
||||
#pragma GCC diagnostic pop
|
||||
#include "mozilla/ServoStyleConstsInlines.h"
|
||||
"""
|
||||
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
|
||||
* To generate this file:
|
||||
* 1. Get the latest cbindgen using `cargo install --force cbindgen`
|
||||
* a. Alternatively, you can clone `https://github.com/eqrion/cbindgen` and use a tagged release
|
||||
* 2. Run `rustup run nightly cbindgen toolkit/library/rust/ --lockfile Cargo.lock --crate style -o layout/style/ServoStyleConsts.h`
|
||||
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen. See RunCbindgen.py
|
||||
* To modify this file, edit servo/ports/geckolib/cbindgen.toml and build Firefox.
|
||||
*/
|
||||
"""
|
||||
include_guard = "mozilla_ServoStyleConsts_h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user