Skip to content

freeze-stdlib is broken on windows #5755

@arihant2math

Description

@arihant2math

Since the symlink is non-functional on windows.

The following works as a patch for me:

#[cfg(feature = "freeze-stdlib")]
pub const FROZEN_STDLIB: &rustpython_compiler_core::frozen::FrozenLib =
    rustpython_derive::py_freeze!(dir = "../Lib", crate_name = "rustpython_compiler_core");

I don't know if there are unintended consequences however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-packagingAbout the packaging of RustPython cratesC-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions