GitXplorerGitXplorer
h

testwlbug

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
1e5f3e4005c47d5763fd42c9b129d2712695d995

add some disassembly

hhaikusw committed 5 years ago
Unverified
cd834d143adee239d86178519f0271d29014434d

add a little info in the readme.

hhaikusw committed 5 years ago
Unverified
2133c5528f1c64fdc08c0bb4de1df913dbce9fe9

test app to test swift weak linking

hhaikusw committed 5 years ago

README

The README file for this repository.

testwlbug

Really simple package to test if swift is figuring out which import libraries/modules can be set as weak-linked correctly or not.

In this test CryptoKit is imported but the code that uses it is wrapped in if #available so it should be weak linked.

See main.swift for details, but if run on macOS 10.14.6 it should run just fine; instead it fails with an error trying to load CryptoKit (which doesn't exist there).

Some disassembly may point to some kind of lazy protocol witness table cache accessors or something:

HopperOutput.txt