Skip to content

Commit

Permalink
review: remove std dir in binary
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoPittella committed Jan 14, 2025
1 parent 8cdfd35 commit 2b048fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions bin/proving-service/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ fn compile_tonic_server_proto() -> miette::Result<()> {
let file_descriptors = protox::compile(protos, includes)?;
fs::write(&file_descriptor_path, file_descriptors.encode_to_vec()).into_diagnostic()?;

let std_path = dst_dir.join("std");
build_tonic_server(&file_descriptor_path, &std_path, protos, includes)?;
build_tonic_server(&file_descriptor_path, &dst_dir, protos, includes)?;

Ok(())
}
Expand Down
File renamed without changes.
6 changes: 4 additions & 2 deletions bin/proving-service/src/generated/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use miden_objects::transaction::ProvenTransaction;
use miden_tx::utils::{Deserializable, DeserializationError, Serializable};

pub mod std;
pub use std::api::*;
#[rustfmt::skip]
pub mod api;

pub use api::*;

// CONVERSIONS
// ================================================================================================
Expand Down
2 changes: 0 additions & 2 deletions bin/proving-service/src/generated/std/mod.rs

This file was deleted.

0 comments on commit 2b048fd

Please sign in to comment.