1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 01:18:28 +00:00

feat(rust): use symlink for trezor-client/protob

to satisfy cargo publish --dry-run

it seems there is something smart going on and the symlink is expanded
to file copies during the build

[no changelog]
This commit is contained in:
Pavol Rusnak 2023-07-12 15:47:23 +02:00
parent 880e012e5c
commit b4825f408a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
use std::{fs, path::PathBuf};
fn main() {
let proto_path = "../../common/protob";
let proto_path = "protob";
let protos: Vec<PathBuf> = fs::read_dir(proto_path)
.unwrap()
.filter_map(|entry| {

1
rust/trezor-client/protob Symbolic link
View File

@ -0,0 +1 @@
../../common/protob