diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d9c689..99b6011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.14.2] - 2023-05-20 + +### Added + +- Add precompilation target for Linux running on ARM64 machines (both musl and gnu ABI). + This is useful for projects using Nerves. + + Note that this is going to require `rustler_precompiled` v0.6 or above, since + the that version includes ARM64 on Linux as defaults. + ## [0.14.1] - 2023-05-20 ### Added @@ -112,7 +122,8 @@ is not needed for most of people using this project. - Add support for OTP 24. This was achieved by updating Rustler to v0.22. -[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.1...HEAD +[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.2...HEAD +[0.14.2]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.1...v0.14.2 [0.14.1]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.0...v0.14.1 [0.14.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.13.1...v0.14.0 [0.13.1]: https://github.com/rusterlium/html5ever_elixir/compare/v0.13.0...v0.13.1 diff --git a/mix.exs b/mix.exs index 36f6203..0d9e204 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Html5ever.Mixfile do use Mix.Project - @version "0.14.1" + @version "0.14.2" @repo_url "https://github.com/rusterlium/html5ever_elixir" def project do diff --git a/native/html5ever_nif/.cargo/config b/native/html5ever_nif/.cargo/config index 705291c..142360b 100644 --- a/native/html5ever_nif/.cargo/config +++ b/native/html5ever_nif/.cargo/config @@ -21,3 +21,9 @@ linker = "arm-linux-gnueabihf-gcc" rustflags = [ "-C", "target-feature=-crt-static" ] + +# Same as above +[target.aarch64-unknown-linux-musl] +rustflags = [ + "-C", "target-feature=-crt-static" +]