-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add simple core and integration test for new error handling code * Bump version to 0.4.7
- Loading branch information
1 parent
7e4bbe4
commit 080181f
Showing
4 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using StaticCompiler | ||
using StaticTools | ||
|
||
function maybe_throw(argc::Int, argv::Ptr{Ptr{UInt8}}) | ||
printf(c"Argument count is %d:\n", argc) | ||
argc > 1 || return printf(stderrp(), c"Too few command-line arguments\n") | ||
n = argparse(Int64, argv, 2) # First command-line argument | ||
printf((c"Input:\n", n, c"\n")) | ||
printf(c"\nAttempting to represent input as UInt64:\n") | ||
x = UInt64(n) | ||
printf(x) | ||
end | ||
|
||
# Attempt to compile | ||
path = compile_executable(maybe_throw, (Int64, Ptr{Ptr{UInt8}}), "./") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
080181f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow, it's been a while since we've released!
@JuliaRegistrator register
Release notes:
080181f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/79595
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: