From 4366729e40e7cf6516f7cacaa52c4737aaf20464 Mon Sep 17 00:00:00 2001 From: Eric Wang <37554696+ericwang401@users.noreply.github.com> Date: Thu, 1 Feb 2024 23:27:39 -0600 Subject: [PATCH] Add Rust flag --- CHANGELOG.md | 6 ++++++ Dockerfile | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 290c249..da43706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ This file is a running track of new features and fixes to each version of the pa This project follows [Semantic Versioning](http://semver.org) guidelines. +## v2.3.1 + +### Changes + +- Added a Rust flag that hopefully fixes the NativeTLS issue? + ## v2.3.0 ### Changes diff --git a/Dockerfile b/Dockerfile index 40d7886..58b1a26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN cargo chef prepare --recipe-path recipe.json FROM backend-chef AS backend ENV OPENSSL_DIR=/usr +ENV RUSTFLAGS='-C target-feature=-crt-static' COPY --from=backend-planner /src/recipe.json recipe.json RUN apk add --no-cache openssl-dev