Skip to content

Commit c2c9752

Browse files
committed
chore: cleanups to make workflows succeed
1 parent 2c696fd commit c2c9752

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

src-rs/build.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,7 @@ impl SwiftLinker {
284284

285285
let search_path = out_path
286286
// swift build uses this output folder no matter what is the target
287-
.join(format!(
288-
"{}-apple-macosx",
289-
arch
290-
))
287+
.join(format!("{}-apple-macosx", arch))
291288
.join(configuration);
292289

293290
println!("cargo:rerun-if-changed={}", package_path.display());

src-rs/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ mod swift_arg;
77
mod swift_ret;
88
mod types;
99

10-
pub use autorelease::*;
1110
pub use swift::*;
1211
pub use swift_arg::*;
1312
pub use swift_ret::*;

src-rs/swift_arg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::ffi::c_void;
22

3-
use crate::{swift::SwiftObject, *};
3+
use crate::*;
44

55
/// Identifies a type as being a valid argument in a Swift function.
66
pub trait SwiftArg<'a> {

src-rs/swift_ret.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{swift::SwiftObject, *};
1+
use crate::*;
22
use std::ffi::c_void;
33

44
/// Identifies a type as being a valid return type from a Swift function.

src-rs/types/data.rs

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ type Data = SRArray<u8>;
2626
pub struct SRData(SRObject<Data>);
2727

2828
impl SRData {
29-
///
3029
pub fn as_slice(&self) -> &[u8] {
3130
self
3231
}

0 commit comments

Comments
 (0)