microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fe76f7b105b9f59afd3c02651a3eef3d1d0e06c5

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

openhcl/diag_proto/build.rs

13lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#![expect(missing_docs)]
5
6fn main() {
7 prost_build::Config::new()
8 .type_attribute(".", "#[derive(mesh::MeshPayload)]")
9 .type_attribute(".", "#[mesh(prost)]")
10 .service_generator(Box::new(mesh_build::MeshServiceGenerator::new()))
11 .compile_protos(&["src/diag.proto"], &["src/"])
12 .unwrap();
13}
14