Skip to content

Commit

Permalink
Update swift examples
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Oct 3, 2023
1 parent 1871f98 commit b28faf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion swift-examples/hello-world-macro/greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[lib]
crate-type = ["cdylib", "staticlib"]
name = "mylib"
name = "greeter"

[dependencies]
uniffi = "0.24.3"
Expand Down
2 changes: 1 addition & 1 deletion swift-examples/hello-world/greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[lib]
crate-type = ["cdylib", "staticlib"]
name = "mylib"
name = "greeter"

[dependencies]
uniffi = "0.24.3"
Expand Down
2 changes: 1 addition & 1 deletion swift-examples/hello-world/greeter/src/lib.udl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
namespace lib {
namespace greeter {
string greet(string name);
};

0 comments on commit b28faf3

Please sign in to comment.