We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc27786 commit ce07811Copy full SHA for ce07811
relay-server/build.rs
@@ -8,9 +8,9 @@ fn main() {
8
let dest_path = Path::new(&out_dir).join("constants.gen.rs");
9
let mut f = File::create(&dest_path).unwrap();
10
11
- write!(
+ writeln!(
12
f,
13
- "pub const SERVER: &str = \"sentry-relay/{}\";\n",
+ "pub const SERVER: &str = \"sentry-relay/{}\";",
14
env::var("CARGO_PKG_VERSION").unwrap()
15
)
16
.unwrap();
0 commit comments