How to bundle shared libraries to distribute Rust binaries

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dynamic_to_static

    Convert a dynamically linked binary to a statically linked binary going thorugh LLVM IR, using mcsema

  • There are projects such as https://github.com/systems-nuts/dynamic_to_static that do this. Definitely not easy. There was another cool project which I can’t find right now whose readme explains the advantages and disadvantages of static and dynamic linking and then says “my project combines the disadvantages of both solutions”. But yes, bundling shared libraries requires either messing with the linker or making loader shims.

  • gtk4-cross

    A Docker container for cross-compiling gtk4 programs to Windows.

  • For gtk programs I just put the dll's in the same folder as the binary and distribute it as a zip. Not the most elegant, but it works. I use this docker image to do the bundling https://github.com/MGlolenstine/gtk4-cross

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Abusing a GitHub repo as a private certificate authority

    1 project | news.ycombinator.com | 14 May 2024
  • Deploying subdirectory projects to Heroku

    1 project | dev.to | 14 May 2024
  • Benchmarked Llama2 and mistral across popular inference engines and precisions

    1 project | news.ycombinator.com | 13 May 2024
  • Show HN: Beta9 – Open-source, serverless GPU container runtime

    2 projects | news.ycombinator.com | 13 May 2024
  • How to Package Dependency for AWS Lambda with Docker

    1 project | dev.to | 13 May 2024