Skip to content

Commit 5e96878

Browse files
committed
add libressl patch and new config.toml
1 parent bb122ed commit 5e96878

File tree

2 files changed

+38
-19
lines changed

2 files changed

+38
-19
lines changed

config.toml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
[build]
2-
build = "x86_64-unknown-linux-musl"
3-
host = [ "x86_64-unknown-linux-musl" ]
4-
target = [ "x86_64-unknown-linux-musl" ]
5-
docs = false
6-
extended = true
7-
submodules = false
8-
python = "python3"
9-
locked-deps = true
10-
vendor = true
2+
build = "x86_64-unknown-linux-musl"
3+
host = [ "x86_64-unknown-linux-musl" ]
4+
target = [ "x86_64-unknown-linux-musl" ]
5+
docs = false
6+
compiler-docs = false
7+
extended = true
8+
submodules = false
9+
python = "python3"
10+
locked-deps = true
11+
vendor = true
12+
sanitizers = false
13+
profiler = false
14+
full-bootstrap = false
1115

1216
[install]
1317
prefix = "/usr"
1418

1519
[rust]
16-
channel = "stable"
17-
# Might want to set rpath to false if you're not distributing a dist
18-
# tarball like Wyvertux.
19-
rpath = true
20-
codegen-units = 1
20+
channel = "stable"
21+
rpath = true
22+
codegen-units = 1
2123
debuginfo-level = 0
22-
backtrace = false
23-
jemalloc = false
24-
codegen-tests = false
25-
llvm-libunwind = true
24+
backtrace = false
25+
jemalloc = false
26+
codegen-tests = false
27+
llvm-libunwind = true
2628

2729
[target.x86_64-unknown-linux-musl]
2830
llvm-config = "/usr/bin/llvm-config"
29-
crt-static = false
31+
crt-static = false

libressl-3.1.X.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/vendor/openssl-sys/build/main.rs b/vendor/openssl-sys/build/main.rs
2+
index 162e11a66..9f3544313 100644
3+
--- a/vendor/openssl-sys/build/main.rs
4+
+++ b/vendor/openssl-sys/build/main.rs
5+
@@ -204,6 +204,12 @@ See rust-openssl README for more information:
6+
(3, 0, 0) => ('3', '0', '0'),
7+
(3, 0, 1) => ('3', '0', '1'),
8+
(3, 0, _) => ('3', '0', 'x'),
9+
+ (3, 1, 0) => ('3', '1', '0'),
10+
+ (3, 1, 1) => ('3', '1', '0'),
11+
+ (3, 1, _) => ('3', '1', 'x'),
12+
+ (3, 2, 0) => ('3', '2', '0'),
13+
+ (3, 2, 1) => ('3', '2', '0'),
14+
+ (3, 2, _) => ('3', '2', 'x'),
15+
_ => version_error(),
16+
};
17+

0 commit comments

Comments
 (0)