PVF worker: Maintain lists of used syscalls (#1663)

Co-authored-by: Mira Ressel <mira@parity.io>
This commit is contained in:
Marcin S
2023-10-17 13:58:49 +02:00
committed by GitHub
parent b14018fe48
commit a1171e6e81
7 changed files with 803 additions and 0 deletions
+5
View File
@@ -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 }
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Wrapper for building with musl.
#
# See comments for musl-gcc in this repo.
g++ "$@"
+13
View File
@@ -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 "$@"