-
Notifications
You must be signed in to change notification settings - Fork 29
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
update Rust and Go #41
Conversation
Adapt the creation of our custom targets to upstream changes. Add the host triple to the targets list, since this no longer happens implicitly. Remove the strip invocation. The LLVM library is statically linked into librustc_driver, so the dynamic library is not installed. Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
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.
They changed the directory structure in the source? Is that why those paths changed?
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.
🔬
Correct, and there's a new scheme where some of the architecture-specific targets copy settings from a base set of options --
The "unknown" vendor is the overall default for the options struct, so we have to apply it somewhere, and it was easiest to do that immediately after loading the base settings. |
The example config is well-documented and provides context on what these settings mean, along with the others that we leave at default values. Signed-off-by: Ben Cressey <bcressey@amazon.com>
Move Settings Models to the Settings SDK
Issue number:
Fixes #38, fixes #40
Description of changes:
Update Rust to 1.49.0. This required a few changes beyond the version bump: changing how custom targets are created; adding the host triplet to the targets list, which is no longer done implicitly; and dropping an unnecessary
strip
command.Update Go to 1.15.6.
Testing done:
Built the four SDK combinations - aarch64 and x86_64 host, aarch64 and x86_64 target.
Built aws-k8s-1.18 variants with the four SDKs. Verified that they came up, joined the cluster, had no errors in the journal.
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.