From f6f1e3cbb332e10d6e6d2003d3fdb4a6409fe75f Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Wed, 29 Apr 2020 01:21:49 -0300 Subject: [PATCH] Added an warning that rslib/build.rs is automatically generated file --- rslib/build.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rslib/build.rs b/rslib/build.rs index ef384d339..caa65d082 100644 --- a/rslib/build.rs +++ b/rslib/build.rs @@ -23,7 +23,8 @@ fn get_identifiers(ftl_text: &str) -> Vec { 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 {