File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ func _library_features() -> Int32 {
11
11
return features
12
12
}
13
13
14
- #if hasFeature(Embedded)
14
+ #if compiler(>=6.0) && hasFeature(Embedded)
15
15
// cdecls currently don't work in embedded, and expose for wasm only works >=6.0
16
16
@_expose ( wasm, " swjs_library_features " )
17
17
public func _swjs_library_features( ) -> Int32 { _library_features ( ) }
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ func _free_host_function_impl(_ hostFuncRef: JavaScriptHostFuncRef) {
236
236
}
237
237
#endif
238
238
239
- #if hasFeature(Embedded)
239
+ #if compiler(>=6.0) && hasFeature(Embedded)
240
240
// cdecls currently don't work in embedded, and expose for wasm only works >=6.0
241
241
@_expose ( wasm, " swjs_call_host_function " )
242
242
public func _swjs_call_host_function(
You can’t perform that action at this time.
0 commit comments