mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 03:11:01 +00:00
PVF worker: Maintain lists of used syscalls (#1663)
Co-authored-by: Mira Ressel <mira@parity.io>
This commit is contained in:
@@ -37,3 +37,8 @@ rustflags = [
|
||||
"-Aclippy::extra-unused-type-parameters", # stylistic
|
||||
"-Aclippy::default_constructed_unit_structs", # stylistic
|
||||
]
|
||||
|
||||
[env]
|
||||
# Needed for musl builds so user doesn't have to install musl-tools.
|
||||
CC_x86_64_unknown_linux_musl = { value = ".cargo/musl-gcc", force = true, relative = true }
|
||||
CXX_x86_64_unknown_linux_musl = { value = ".cargo/musl-g++", force = true, relative = true }
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Wrapper for building with musl.
|
||||
#
|
||||
# See comments for musl-gcc in this repo.
|
||||
|
||||
g++ "$@"
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Wrapper for building with musl.
|
||||
#
|
||||
# musl unfortunately requires a musl-enabled C compiler (musl-gcc) to be
|
||||
# installed, which can be kind of a pain to get installed depending on the
|
||||
# distro. That's not a very good user experience.
|
||||
#
|
||||
# The real musl-gcc wrapper sets the correct system include paths for linking
|
||||
# with musl libc library. Since this is not actually used to link any binaries
|
||||
# it should most likely work just fine.
|
||||
|
||||
gcc "$@"
|
||||
Reference in New Issue
Block a user