forked from mirrors/gecko-dev
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
1 changed files with 2 additions and 5 deletions
|
|
@ -19,11 +19,8 @@ trailer = """
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#include "mozilla/ServoStyleConstsInlines.h"
|
#include "mozilla/ServoStyleConstsInlines.h"
|
||||||
"""
|
"""
|
||||||
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
|
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen. See RunCbindgen.py
|
||||||
* To generate this file:
|
* To modify this file, edit servo/ports/geckolib/cbindgen.toml and build Firefox.
|
||||||
* 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`
|
|
||||||
*/
|
*/
|
||||||
"""
|
"""
|
||||||
include_guard = "mozilla_ServoStyleConsts_h"
|
include_guard = "mozilla_ServoStyleConsts_h"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue