Skip to content

Windows build fails when finding '\' in module name (script BlobBinding) #10596

Closed

Description

@zbynekwinkler

After locally fixing #10595 I get the following error:

C:\servo\target\debug\build\script-ea40c6ed2faaa354\out/Bindings/mod.rs:14:11: 14:12 error: unknown start of token: \\
C:\servo\target\debug\build\script-ea40c6ed2faaa354\out/Bindings/mod.rs:14 pub mod C:\servo\components\script\dom\webidls\BlobBinding;

It does not feel right to use absolute path name for a module name.

Activity

  1. jdm commented on Apr 14, 2016

    @jdm
    Member

    Looks like the implementation of getModuleForObject in Configuration.py needs to be modified to use os.path.separator instead of hardcoding /.

  2. added
    E-less-complex
    P-windows
    L-python
    on Apr 14, 2016
  3. zbynekwinkler commented on Apr 14, 2016

    @zbynekwinkler
    ContributorAuthor

    👍 That did it. Now I have finally completed the build. I'll prepare PR hopefully later tonight.

  4. ghost added
    C-assigned
    on Apr 14, 2016
  5. added a commit that references this issue on Apr 17, 2016
    bae2ab0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/bindingsC-assignedE-less-complexL-pythonP-windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions