That said, that's a mighty long target name. I wonder if we can be more succinct for the Rust targets ...
---------- Forwarded message ---------
From:
chenguang shao <chengua...@gmail.com>Date: Tue, Jan 16, 2024 at 2:43 PM
Subject: [chromium-dev] Error encountered while running GN when pulling the latest Chromium code
To: <
chromi...@chromium.org>
I pulled the latest Chromium code and encountered an error while running GN.
[8116:1219/091541.155:ERROR:file_writer.cc(40)] CreateFile failed for path D:/code/chromium/src/out/debug_chrome/win_clang_x86_for_rust_host_build_tools/obj/build/rust/tests/test_rlib_crate/test_rlib_crate_associated_bin_test_rlib_crate_associated_bin_vunknown_build_script__rlib_win_clang_x86_for_rust_host_build_tools.vcxproj.filters: The system cannot find the path specified. (0x3)
This error has been persistent before, and I used enable_rust=false to work around it. However, with the latest code, this parameter no longer takes effect.
Furthermore, I have already enabled the long path setting locally.
https://source.chromium.org/gn/gn/+/master:src/gn/file_writer.cc;l=34;bpv=1?q=file_wr&ss=gn%2Fgn
I found that CreateFile does not support long paths, and to enable support, you need to use CreateFileW and UNC paths.
--
--
Chromium Developers mailing list:
chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
chromium-dev...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/67FDB8DD-453F-497F-AFFA-93419392F136%40gmail.com.