Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jan 29, 2024

When linking with swiftc for -unknown-none- triples, it attempts to link swiftrt.o runtime file, which is currently not needed and is not present for these triples. We should avoid linking it in these cases.

Currently when linking with `swiftc` for `-unknown-none-` triples, it attempts to link `swiftrt.o` runtime file, which is currently not needed and is not present for these triples. We should avoid linking it in these cases.
@MaxDesiatov MaxDesiatov added the bug Something isn't working label Jan 29, 2024
@MaxDesiatov MaxDesiatov self-assigned this Jan 29, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov added the embedded Changes related to Embedded Swift label Jan 29, 2024
@MaxDesiatov
Copy link
Contributor Author

MaxDesiatov commented Jan 29, 2024

macOS failure looks unrelated

Assertion failed: (contextSpecificCache != ContextSpecificCacheMap.end() && "Global Module Dependencies Cache not configured with context-specific " "state."), function getCacheForScanningContextHash, file ModuleDependencies.cpp, line 569. 
Copy link
Member

@rauhul rauhul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's also get artem to approve as well

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test macos

@MaxDesiatov MaxDesiatov merged commit ba1d273 into main Jan 29, 2024
@MaxDesiatov MaxDesiatov deleted the maxd/embedded-no-swiftrt branch January 29, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working embedded Changes related to Embedded Swift

3 participants