compile static musl for cdylib support
This commit is contained in:
parent
f8c5b10ea9
commit
939201fedb
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1537,7 +1537,7 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
|
||||
|
||||
[[package]]
|
||||
name = "woweb"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"axum-extra",
|
||||
|
@ -1,7 +1,12 @@
|
||||
FROM docker.io/rust:1.67-alpine3.17 AS builder
|
||||
|
||||
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
||||
|
||||
RUN apk add --no-cache \
|
||||
musl-dev
|
||||
musl-dev \
|
||||
wasm-pack
|
||||
|
||||
RUN rustup target add wasm32-unknown-unknown
|
||||
|
||||
ADD . /src
|
||||
WORKDIR /src
|
||||
|
Loading…
Reference in New Issue
Block a user