Commit c2c9752 1 parent 2c696fd commit c2c9752 Copy full SHA for c2c9752
File tree 5 files changed +3
-8
lines changed
5 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,7 @@ impl SwiftLinker {
284
284
285
285
let search_path = out_path
286
286
// 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) )
291
288
. join ( configuration) ;
292
289
293
290
println ! ( "cargo:rerun-if-changed={}" , package_path. display( ) ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ mod swift_arg;
7
7
mod swift_ret;
8
8
mod types;
9
9
10
- pub use autorelease:: * ;
11
10
pub use swift:: * ;
12
11
pub use swift_arg:: * ;
13
12
pub use swift_ret:: * ;
Original file line number Diff line number Diff line change 1
1
use std:: ffi:: c_void;
2
2
3
- use crate :: { swift :: SwiftObject , * } ;
3
+ use crate :: * ;
4
4
5
5
/// Identifies a type as being a valid argument in a Swift function.
6
6
pub trait SwiftArg < ' a > {
Original file line number Diff line number Diff line change 1
- use crate :: { swift :: SwiftObject , * } ;
1
+ use crate :: * ;
2
2
use std:: ffi:: c_void;
3
3
4
4
/// Identifies a type as being a valid return type from a Swift function.
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ type Data = SRArray<u8>;
26
26
pub struct SRData ( SRObject < Data > ) ;
27
27
28
28
impl SRData {
29
- ///
30
29
pub fn as_slice ( & self ) -> & [ u8 ] {
31
30
self
32
31
}
You can’t perform that action at this time.
0 commit comments