mirror of
https://codeberg.org/steam-vent/proto.git
synced 2026-08-02 12:14:48 +02:00
fix(build): alias steam_vent_proto_common::protobuf
This commit is contained in:
parent
f77ef38ca5
commit
122f1b5965
1 changed files with 2 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ fn main() {
|
|||
|
||||
let syntax_tree = syn::parse2(tokens).unwrap();
|
||||
let formatted = prettyplease::unparse(&syntax_tree);
|
||||
format!("{}\n\n{}", builder_version_check, formatted)
|
||||
let alias = "#[allow(unused_imports)]\nuse ::steam_vent_proto_common::protobuf as protobuf;";
|
||||
format!("{}\n{}\n\n{}", alias, builder_version_check, formatted)
|
||||
} else {
|
||||
builder_version_check.clone()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue