Skip to content

Commit

Permalink
add libressl patch and new config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
konimex committed Jul 18, 2020
1 parent bb122ed commit 5e96878
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 19 deletions.
40 changes: 21 additions & 19 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
[build]
build = "x86_64-unknown-linux-musl"
host = [ "x86_64-unknown-linux-musl" ]
target = [ "x86_64-unknown-linux-musl" ]
docs = false
extended = true
submodules = false
python = "python3"
locked-deps = true
vendor = true
build = "x86_64-unknown-linux-musl"
host = [ "x86_64-unknown-linux-musl" ]
target = [ "x86_64-unknown-linux-musl" ]
docs = false
compiler-docs = false
extended = true
submodules = false
python = "python3"
locked-deps = true
vendor = true
sanitizers = false
profiler = false
full-bootstrap = false

[install]
prefix = "/usr"

[rust]
channel = "stable"
# Might want to set rpath to false if you're not distributing a dist
# tarball like Wyvertux.
rpath = true
codegen-units = 1
channel = "stable"
rpath = true
codegen-units = 1
debuginfo-level = 0
backtrace = false
jemalloc = false
codegen-tests = false
llvm-libunwind = true
backtrace = false
jemalloc = false
codegen-tests = false
llvm-libunwind = true

[target.x86_64-unknown-linux-musl]
llvm-config = "/usr/bin/llvm-config"
crt-static = false
crt-static = false
17 changes: 17 additions & 0 deletions libressl-3.1.X.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/vendor/openssl-sys/build/main.rs b/vendor/openssl-sys/build/main.rs
index 162e11a66..9f3544313 100644
--- a/vendor/openssl-sys/build/main.rs
+++ b/vendor/openssl-sys/build/main.rs
@@ -204,6 +204,12 @@ See rust-openssl README for more information:
(3, 0, 0) => ('3', '0', '0'),
(3, 0, 1) => ('3', '0', '1'),
(3, 0, _) => ('3', '0', 'x'),
+ (3, 1, 0) => ('3', '1', '0'),
+ (3, 1, 1) => ('3', '1', '0'),
+ (3, 1, _) => ('3', '1', 'x'),
+ (3, 2, 0) => ('3', '2', '0'),
+ (3, 2, 1) => ('3', '2', '0'),
+ (3, 2, _) => ('3', '2', 'x'),
_ => version_error(),
};

0 comments on commit 5e96878

Please sign in to comment.