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
Build UWP with native UWP rustc target #24198
Merged
+801
−771
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.
Support building UWP with native UWP rustc target.
- Loading branch information
commit 5367da98f86fa0fd033791bc8f48b640e31bba91
Some generated files are not rendered by default. Learn more.
Oops, something went wrong.
| @@ -0,0 +1,7 @@ | ||
| [target.x86_64-uwp-windows-msvc.dependencies] | ||
| std = { features = ["panic-unwind"] } | ||
|
This conversation was marked as resolved
by jdm
jdm
Author
Member
|
||
|
|
||
| # https://github.com/rust-lang/rust/issues/65313 | ||
| [target.aarch64-uwp-windows-msvc.dependencies] | ||
| std = {} | ||
|
|
||
| @@ -390,8 +390,8 @@ def windows_arm64(): | ||
| windows_build_task("UWP dev build", arch="arm64", package=False) | ||
| .with_treeherder("Windows arm64") | ||
| .with_script( | ||
| "python mach build --dev --uwp --win-arm64", | ||
|
This conversation was marked as resolved
by jdm
SimonSapin
Member
|
||
| "python mach package --dev --target aarch64-pc-windows-msvc --uwp=arm64", | ||
| "python mach build --dev --target=aarch64-uwp-windows-msvc", | ||
| "python mach package --dev --target aarch64-uwp-windows-msvc --uwp=arm64", | ||
| ) | ||
| .with_artifacts(appx_artifact(debug=True)) | ||
| .find_or_create("build.windows_uwp_arm64_dev." + CONFIG.task_id()) | ||
| @@ -403,8 +403,8 @@ def windows_uwp_x64(): | ||
| windows_build_task("UWP dev build", package=False) | ||
| .with_treeherder("Windows x64") | ||
| .with_script( | ||
| "mach build --dev --uwp", | ||
| "mach package --dev --uwp=x64", | ||
| "python mach build --dev --target=x86_64-uwp-windows-msvc", | ||
| "python mach package --dev --target=x86_64-uwp-windows-msvc --uwp=x64", | ||
| ) | ||
| .with_artifacts(appx_artifact(debug=True)) | ||
| .find_or_create("build.windows_uwp_x64_dev." + CONFIG.task_id()) | ||
| @@ -418,9 +418,9 @@ def uwp_nightly(): | ||
| .with_features("taskclusterProxy") | ||
| .with_scopes("secrets:get:project/servo/s3-upload-credentials") | ||
| .with_script( | ||
| "mach build --release --uwp", | ||
| "python mach build --release --uwp --win-arm64", | ||
| "mach package --release --uwp=x64 --uwp=arm64", | ||
| "python mach build --release --target=x86_64-uwp-windows-msvc", | ||
| "python mach build --release --target=aarch64-uwp-windows-msvc", | ||
| "mach package --release --target=x86_64-uwp-windows-msvc --uwp=x64 --uwp=arm64", | ||
| "mach upload-nightly uwp --secret-from-taskcluster", | ||
| ) | ||
| .with_artifacts(appx_artifact(debug=False)) | ||
Oops, something went wrong.
ProTip!
Use n and p to navigate between commits in a pull request.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Is this necessary? Unlike the ARM target (see comment below), this appears to default to keep the
PanicStrategy::Unwinddefault: https://github.com/rust-lang/rust/blob/000d90b11f7be70ffb7812680f7abc6deb52ec88/src/librustc_target/spec/x86_64_uwp_windows_msvc.rs