Skip to content

Commit

Permalink
Merge pull request #4 from rprtr258/main
Browse files Browse the repository at this point in the history
Make Rust safe again
  • Loading branch information
turborium authored Nov 11, 2023
2 parents 88f864d + 8d8b580 commit ccb5970
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 0 deletions.
1 change: 1 addition & 0 deletions Ports/Rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
7 changes: 7 additions & 0 deletions Ports/Rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Ports/Rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "hello"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
6 changes: 6 additions & 0 deletions Ports/Rust/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Build:
```sh
cargo build --release
```

Dinamically link library will be in `target/release/deps/libhello.so`.
Loading

0 comments on commit ccb5970

Please sign in to comment.