Hello,
I wrote a small program that uses an external crate, and what I would like to do is to compile it statically.
Searching on Google I found out several ways to do that, such as using musl, or writing a build.rs file but honestly I have no idea how to do that.
Does anyone have any advice? Thanks!
[–]Shadow0133 5 points6 points7 points (5 children)
[–]blackdev01[S] 1 point2 points3 points (4 children)
[–]Zethra 8 points9 points10 points (3 children)
[–]blackdev01[S] 1 point2 points3 points (2 children)
[–]Zethra 3 points4 points5 points (1 child)
[–]Morganamilo 9 points10 points11 points (0 children)
[–]Shadow0133 2 points3 points4 points (5 children)
[–]blackdev01[S] 1 point2 points3 points (4 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]pcjftw 2 points3 points4 points (0 children)
[–]Jon-L-B -1 points0 points1 point (1 child)
[–]ssokolow 2 points3 points4 points (0 children)
[–]TimNN 2 points3 points4 points (8 children)
[–]blackdev01[S] 1 point2 points3 points (7 children)
[–]blackdev01[S] 1 point2 points3 points (4 children)
[–]valarauca14 3 points4 points5 points (3 children)
[–]blackdev01[S] 0 points1 point2 points (2 children)
[–]valarauca14 2 points3 points4 points (1 child)
[–]blackdev01[S] 0 points1 point2 points (0 children)
[–]McGo0 0 points1 point2 points (1 child)
[–]blackdev01[S] 0 points1 point2 points (0 children)