Skip to content

rules_rust is broken with Bazel@HEAD for windows platform #1946

Closed

Description

Activity

  1. illicitonion commented on Apr 28, 2023

    @illicitonion
    Collaborator

    Should be fixed by #1944

  2. scentini commented on Apr 28, 2023

    @scentini
    Collaborator

    Unfortunately I believe I didn't fix all the long paths; here's the one causing issues at HEAD:
    C:\\b\\pptrowys\\execroot\\examples\\bazel-out/x64_windows-opt-exec-ST-f007e4e0eadc/bin/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0/windows_x86_64_msvc_build_script_.exe.runfiles/examples/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0\\lib/windows.0.48.0.lib
    I could shorten the vendor_local_pkgs directory, but maybe one of you @illicitonion, @UebelAndre can point me to how to shorten windows_x86_64_msvc too?

  3. UebelAndre commented on Apr 28, 2023

    @UebelAndre
    Collaborator

    windows_x86_64_msvc is the name of a crate (https://crates.io/crates/windows_x86_64_msvc), shortening that would come with some complications. I would do vendor_local_pkgs for now.

  4. meteorcloudy commented on May 22, 2023

    @meteorcloudy
    Member
  5. scentini commented on May 22, 2023

    @scentini
    Collaborator

    Hey @meteorcloudy , unfortunately I've been swamped with other work, I don't think I'll get to this by next week.

  6. meteorcloudy commented on May 22, 2023

    @meteorcloudy
    Member

    No worries, as long as it's still on your radar!

  7. sgowroji commented on Jul 25, 2023

    @sgowroji
    MemberAuthor

    Hi all, Gentle ping on this issue to know the latest update on it. Thanks!

  8. sgowroji commented on Sep 25, 2023

    @sgowroji
    MemberAuthor

    Any update on this issue?

  9. shs96c commented on Sep 29, 2023

    @shs96c

    After speaking with someone far more familiar with Windows development than I am, it may be possible to avoid the failure by adding the UNC path prefix (\\?\), but this would need to occur somewhere in the guts of the build process. If we're probably specifying a build root path somewhere, adding the prefix to this may be all we need to do.

    Doing so activates OS-level long path support, as long as all of the requisite registry entries are set properly (which they are on a modern Windows release, I think)

  10. sgowroji commented on Oct 9, 2023

    @sgowroji
    MemberAuthor

    Hi @ALL, We will be moving this repo to Bazel Disabled CI pipeline. Will be moving back to downstream CI once the above failure is fixed.

  11. illicitonion commented on Oct 9, 2023

    @illicitonion
    Collaborator

    @sgowroji I've sent out #2187 to stop running the broken tests - please hold off on disabling the whole ruleset :) Thanks!

  12. added a commit that references this issue on Oct 9, 2023
    a7eba05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions