Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsimpleservo.h is not placed in arm64 target directory #23794
Closed
Labels
Projects
Comments
|
This occurs because the build script is not cross-compiled, so its target directory is actually the root target/. |
|
We can fix this by explicitly by creating a path based on TARGET (if it's different from the host) and PROFILE using the current directory as the base path. |
bors-servo
added a commit
that referenced
this issue
Jul 24, 2019
Generate simpleservo.h in appropriate target directory. This change makes the C API's build script take the the actual build target into account when generating the C header. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23794 - [x] These changes do not require tests because no tests for UWP build. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23830) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jul 24, 2019
Generate simpleservo.h in appropriate target directory. This change makes the C API's build script take the the actual build target into account when generating the C header. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23794 - [x] These changes do not require tests because no tests for UWP build. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23830) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jul 24, 2019
Generate simpleservo.h in appropriate target directory. This change makes the C API's build script take the the actual build target into account when generating the C header. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23794 - [x] These changes do not require tests because no tests for UWP build. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23830) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to be hardcoded to target/debug or target/release, but
--target aarch64-pc-windows-msvcshould cause it to be placed in target/aarch64-pc-windows-msvc/{debug,release} instead.