Skip to content

Instantly share code, notes, and snippets.

@madelaney
Created April 24, 2024 14:39
Show Gist options
  • Save madelaney/579327549f92baa15effa71fe4dfba1d to your computer and use it in GitHub Desktop.
Save madelaney/579327549f92baa15effa71fe4dfba1d to your computer and use it in GitHub Desktop.
cross-rs setup example
[build]
[target.armv7-unknown-linux-musleabihf]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
"echo -e '#!/bin/bash\necho test' > /usr/bin/test-echo",
"chmod +x /usr/bin/test-echo"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment