From 2fc120d535d906a6948d9b4a0a95c33a6062a630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ber=C4=8Di=C4=8D?= Date: Fri, 15 Nov 2024 12:25:37 +0200 Subject: [PATCH] cmd: Change rust target for building ROFL apps Some docker images have changed from being based on Alpine to Ubuntu. --- cmd/rofl/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rofl/build.go b/cmd/rofl/build.go index 40eff46..2c6594a 100644 --- a/cmd/rofl/build.go +++ b/cmd/rofl/build.go @@ -110,7 +110,7 @@ var ( // First build for the default target. fmt.Println("Building ELF binary...") - elfPath, err := cargo.Build(true, "x86_64-unknown-linux-musl", features) + elfPath, err := cargo.Build(true, "x86_64-unknown-linux-gnu", features) if err != nil { cobra.CheckErr(fmt.Errorf("failed to build ELF binary: %w", err)) }