Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
oligamiq committed Dec 18, 2023
1 parent bc6ffd6 commit c57e73e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fn main() {
#[cfg(any(target_os = "ios"))]
#[cfg(target_os = "ios")]
{
// println!("cargo:rustc-link-lib=framework=Foundation");

Expand All @@ -10,7 +10,7 @@ fn main() {
// println!("cargo:rustc-link-lib=framework=Security");
}

#[cfg(any(target_os = "macos"))]
#[cfg(target_os = "macos")]
{
println!("cargo:rustc-link-lib=framework=Foundation");

Expand Down
3 changes: 3 additions & 0 deletions rust/macos/objc/nick_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ impl NickName {
// Create an instance of the UIDevice class
let superclass = class!(NSApplication);

// デバッグ用にsuperclassの情報を出力
println!("superclass: {:?}", superclass);

msg_send![class!(NSApplication), sharedApplication]
}))))
}
Expand Down

0 comments on commit c57e73e

Please sign in to comment.