Skip to content

Commit

Permalink
Fixing Compile Errors and Making Various Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
DoranekoSystems committed Sep 2, 2024
1 parent 6b58f0b commit cd764c8
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 335 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"[objective-cpp]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.formatOnSave": true
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
}
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
members = [
"backend"
]
resolver = "2"
4 changes: 4 additions & 0 deletions backend/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ fn main() {
}
"ios" => {
println!("cargo:rustc-link-arg=-lc++");
println!("cargo:rustc-link-arg=-framework");
println!("cargo:rustc-link-arg=Foundation");
println!("cargo:rustc-link-arg=-framework");
println!("cargo:rustc-link-arg=UIKit");
build.file("src/cpp/src/native_darwin.mm");
}
"android" => {
Expand Down
Loading

0 comments on commit cd764c8

Please sign in to comment.