Skip to content

Commit

Permalink
work-in-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanshade committed Feb 20, 2023
1 parent 9c94d2f commit 4627667
Show file tree
Hide file tree
Showing 19 changed files with 2,469 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: '1.60'
toolchain: '1.62'
profile: minimal
override: true
target: x86_64-apple-darwin
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
# - lint

env:
ARGS: --no-default-features --features=std,apple
ARGS: --no-default-features --features=std,apple,unstable-proc-macros

steps:
- uses: actions/checkout@v3
Expand Down
145 changes: 145 additions & 0 deletions Cargo.lock

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

24 changes: 24 additions & 0 deletions crates/icrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ required-features = [
"unstable-example-browser"
]

[[example]]
name = "ns_error_enum"
required-features = [
"unstable-example-ns_error_enum"
]

[features]
default = ["std", "apple"]

Expand Down Expand Up @@ -105,6 +111,8 @@ unstable-docsrs = []
# exist.
unstable-private = []

unstable-proc-macros = ["objc2/objc2-proc-macros"]

# Make the `ns_string!` macro create the string statically.
#
# Please test it, and report any issues you may find:
Expand All @@ -131,6 +139,22 @@ unstable-example-speech_synthesis = [
"Foundation",
"Foundation_NSString",
]
unstable-example-ns_error_enum = [
"apple",
"unstable-proc-macros",
"Foundation",
"Foundation_NSData",
"Foundation_NSDictionary",
"Foundation_NSEnumerator",
"Foundation_NSError",
"Foundation_NSMutableDictionary",
"Foundation_NSNumber",
"Foundation_NSString",
"Foundation_NSURL",
"Foundation_NSURLResponse",
"Foundation_NSURLSession",
"Foundation_NSURLSessionDataTask",
]
unstable-example-nspasteboard = [
"apple",
"Foundation",
Expand Down
Loading

0 comments on commit 4627667

Please sign in to comment.