feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[build]
|
||||
rustdocflags = [
|
||||
"-Dwarnings",
|
||||
"-Arustdoc::redundant_explicit_links", # 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 }
|
||||
CARGO_WORKSPACE_ROOT_DIR = { value = "", relative = true }
|
||||
SQLX_OFFLINE = "true"
|
||||
|
||||
[net]
|
||||
retry = 5
|
||||
# git-fetch-with-cli = true # commented because there is a risk that a runner can be banned by github
|
||||
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