We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e509d68 commit 1d07559Copy full SHA for 1d07559
.fluentci/src/dagger/jobs.ts
@@ -116,6 +116,11 @@ export const build = async (src = ".") => {
116
"TARGET",
117
Deno.env.get("TARGET") || "x86_64-unknown-linux-gnu",
118
)
119
+ .withExec([
120
+ "sh",
121
+ "-c",
122
+ "mv /usr/bin/protoc /usr/bin/_protoc && cp tools/protoc /usr/bin/protoc && chmod a+x /usr/bin/protoc",
123
+ ])
124
.withExec(["sh", "-c", "rustup target add $TARGET"])
125
.withExec(["sh", "-c", "cargo build --release --target $TARGET"])
126
.withExec(["sh", "-c", "cp target/${TARGET}/release/tunein ."])
tools/protoc
@@ -0,0 +1,2 @@
1
+#!/bin/bash
2
+_protoc --experimental_allow_proto3_optional "$@"
0 commit comments