Skip to content

Commit

Permalink
Fix micro_rpc cross workspace dependency
Browse files Browse the repository at this point in the history
Add a manual test to check regressions in the future.

Ref project-oak#4573
  • Loading branch information
tiziano88 committed Jan 2, 2024
1 parent 38d4d58 commit 08d6d0e
Show file tree
Hide file tree
Showing 7 changed files with 486 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ members = [
exclude = [
"fuzz",
"enclave_applications",
"micro_rpc_workspace_test",
"oak_functions/loader/fuzz",
"oak_restricted_kernel_bin",
"oak_restricted_kernel_wrapper",
Expand Down
5 changes: 5 additions & 0 deletions micro_rpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
//

fn main() {
// micro_rpc_build::compile(
// &["../proto/micro_rpc/messages.proto"],
// &["../proto"],
// Default::default(),
// );
micro_rpc_build::compile(
&[format!(
"{}proto/micro_rpc/messages.proto",
Expand Down
2 changes: 2 additions & 0 deletions micro_rpc_workspace_test/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
WORKSPACE_ROOT = { value = "_INVALID_WORKSPACE_ROOT_" }
Loading

0 comments on commit 08d6d0e

Please sign in to comment.