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

Test creates a file named string in the root source directory #60277

Open
pcc opened this issue Mar 7, 2025 · 0 comments
Open

Test creates a file named string in the root source directory #60277

pcc opened this issue Mar 7, 2025 · 0 comments
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …).

Comments

@pcc
Copy link

pcc commented Mar 7, 2025

Dart commit 5bf9bdb

tools/sdks/dart-sdk/bin/dart tools/test.dart -n vm-linux-release-arm64
# change a source file
ninja -C out/ReleaseARM64

Expected behavior: build succeeds

Actual behavior: lots of errors, e.g.

../../string:1:15: error: source file is not valid UTF-8

This appears to be caused by one of the tests creating a file named string in the root source directory which the compiler thinks is the C++ <string> header.

@lrhn lrhn added the area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …).
Projects
None yet
Development

No branches or pull requests

2 participants