Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91c8f259 authored by Colin Cross's avatar Colin Cross
Browse files

Pass -C panic=abort to rustc linux bionic compilations

Pass -C panic=abort to rustc when targeting linux bionic to match
device bionic builds.  Fixes building on master-art-host when a
rust dependency is added to the linux bionic target.

Bug: 268035710
Test: master-art-host linux bionic build
Change-Id: I411a8622002709030dfd207b9decb8846a1ccef3
parent e136efdc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -21,7 +21,9 @@ import (
)

var (
	LinuxBionicRustFlags     = []string{}
	LinuxBionicRustFlags = []string{
		"-C panic=abort",
	}
	LinuxBionicRustLinkFlags = []string{
		"-B${cc_config.ClangBin}",
		"-fuse-ld=lld",