ios + ir cleanup
- ios: --target ios/ios-sim shorthands, iOS SDK auto-discovery,
#framework directive + BuildOptions.add_framework hook,
.app bundle + Info.plist + codesign (ad-hoc and real),
--codesign-identity/--provisioning-profile/--entitlements flags,
modules/std/{objc,uikit}.sx, dynamic class registration,
typed objc_msgSend cast pattern, UIApplicationMain handoff,
UIWindow scene attach. Runs on iPhone hardware.
- ir: silent .s64 defaults → loud diagnostics,
resolveReturnType infers from body, sub-byte int sizes match LLVM,
tuple type interning includes names, compile errors exit 1
- issue-NNNN convention: resolved bugs rename to focused features
- 50 regression tests passing
This commit is contained in:
@@ -121,6 +121,12 @@ pub const Compilation = struct {
|
||||
return &.{};
|
||||
}
|
||||
|
||||
/// Get frameworks accumulated from #run build blocks (BuildOptions.add_framework).
|
||||
pub fn getBuildFrameworks(self: *Compilation) []const []const u8 {
|
||||
if (self.ir_emitter) |*e| return e.build_config.frameworks.items;
|
||||
return &.{};
|
||||
}
|
||||
|
||||
/// Get output path set from #run build blocks, if any.
|
||||
pub fn getBuildOutputPath(self: *Compilation) ?[]const u8 {
|
||||
if (self.ir_emitter) |*e| return e.build_config.output_path;
|
||||
|
||||
Reference in New Issue
Block a user