10 changed files with 147 additions and 40 deletions
@ -1,5 +1,64 @@
@@ -1,5 +1,64 @@
|
||||
/target |
||||
**/*.rs.bk |
||||
# CMake |
||||
cmake-build-*/ |
||||
|
||||
# IntelliJ |
||||
.idea/ |
||||
out/ |
||||
*.iml |
||||
modules.xml |
||||
*.ipr |
||||
|
||||
# mpeltonen/sbt-idea plugin |
||||
.idea_modules/ |
||||
|
||||
# Linux backup files |
||||
*~ |
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file |
||||
.fuse_hidden* |
||||
|
||||
# KDE directory preferences |
||||
.directory |
||||
|
||||
# Linux trash folder which might appear on any partition or disk |
||||
.Trash-* |
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed |
||||
.nfs* |
||||
|
||||
# Rust |
||||
/target/ |
||||
|
||||
### vscode ### |
||||
.vscode/* |
||||
!.vscode/settings.json |
||||
!.vscode/tasks.json |
||||
!.vscode/launch.json |
||||
!.vscode/extensions.json |
||||
*.code-workspace |
||||
|
||||
### Windows ### |
||||
# Windows thumbnail cache files |
||||
Thumbs.db |
||||
Thumbs.db:encryptable |
||||
ehthumbs.db |
||||
ehthumbs_vista.db |
||||
|
||||
# Dump file |
||||
*.stackdump |
||||
|
||||
# Folder config file |
||||
[Dd]esktop.ini |
||||
|
||||
# Recycle Bin used on file shares |
||||
$RECYCLE.BIN/ |
||||
|
||||
# Windows shortcuts |
||||
*.lnk |
||||
|
||||
# Conduit |
||||
Rocket.toml |
||||
conduit.toml |
||||
|
||||
# Etc. |
||||
**/*.rs.bk |
||||
|
||||
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
{ |
||||
"rust-analyzer.procMacro.enable": true |
||||
} |
||||
@ -1,13 +1,10 @@
@@ -1,13 +1,10 @@
|
||||
Install docker: |
||||
|
||||
``` |
||||
$ sudo apt install docker |
||||
$ sudo usermod -aG docker $USER |
||||
|
||||
Then log out and back in. |
||||
|
||||
$ exec sudo su -l $USER |
||||
$ sudo systemctl start docker |
||||
|
||||
$ cargo install cross |
||||
$ cross build --release --features tls_vendored --target armv7-unknown-linux-musleabihf |
||||
|
||||
``` |
||||
The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit |
||||
|
||||
Loading…
Reference in new issue