mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Added an warning that rslib/build.rs is automatically generated file
This commit is contained in:
parent
00cf4fc585
commit
f6f1e3cbb3
1 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,8 @@ fn get_identifiers(ftl_text: &str) -> Vec<String> {
|
|||
|
||||
fn proto_enum(idents: &[String]) -> String {
|
||||
let mut buf = String::from(
|
||||
r#"
|
||||
r#"// This file is automatically generated as part of the build process.
|
||||
|
||||
syntax = "proto3";
|
||||
package backend_proto;
|
||||
enum FluentString {
|
||||
|
@ -67,7 +68,8 @@ mod test {
|
|||
|
||||
assert_eq!(
|
||||
proto_enum(&idents),
|
||||
r#"
|
||||
r#"// This file is automatically generated as part of the build process.
|
||||
|
||||
syntax = "proto3";
|
||||
package backend_strings;
|
||||
enum FluentString {
|
||||
|
|
Loading…
Reference in a new issue