Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use @_cdecl rathar than @_silgen_name #26

Merged
merged 4 commits into from
Jun 10, 2024
Merged

fix: use @_cdecl rathar than @_silgen_name #26

merged 4 commits into from
Jun 10, 2024

Conversation

kkebo
Copy link
Owner

@kkebo kkebo commented Jun 9, 2024

fixes #24

@kkebo kkebo self-assigned this Jun 9, 2024
@kkebo
Copy link
Owner Author

kkebo commented Jun 9, 2024

I don't know why, but Swift 6.0 snapshot toolchain cannot build dc22783. So I'm going to revert #15.

$ make run
swift build --triple aarch64-none-none-elf -c release -Xswiftc -Osize --experimental-lto-mode=full -Xswiftc -experimental-hermetic-seal-at-link                                            
Building for production...                                                                                                                                                                 
[6/8] Compiling Kernel kernel.swift                                                                                                                                                        
make: *** [Makefile:24: swift] Error 1
$ swift build --triple aarch64-none-none-elf -c release
Building for production...
[2/4] Compiling Kernel kernel.swift
(swift crashes here silently)

@kkebo kkebo merged commit e37b185 into main Jun 10, 2024
2 checks passed
@kkebo kkebo deleted the issues/24 branch June 10, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@_silgen_name vs @_cdecl
1 participant