Skip to content

Commit 973eb24

Browse files
committed
minor change to build.rs
1 parent 1839bc9 commit 973eb24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lazer/publisher_sdk/rust/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ fn main() -> Result<()> {
88
println!("cargo:rerun-if-changed=../proto/");
99

1010
protobuf_codegen::Codegen::new()
11+
.protoc()
12+
.protoc_extra_arg("--include_source_info")
1113
.include("../proto")
1214
.input("../proto/publisher_update.proto")
1315
.input("../proto/pyth_lazer_transaction.proto")
1416
.input("../proto/transaction_envelope.proto")
1517
.cargo_out_dir("protobuf")
16-
.protoc_extra_arg("--include_source_info")
1718
.run_from_script();
1819

1920
Ok(())

0 commit comments

Comments
 (0)