Skip to content

Remove curl dependency by using python's urllib2 #4059

@lilac

Description

@lilac

As far as I know, currently rustc depend on curl for downloading files.

$grep curl src/etc/*
src/etc/snapshot.py:    returncode = subprocess.call(["curl", "-o", tmpf, u])
Binary file src/etc/snapshot.pyc matches
src/etc/unicode.py:        os.system("curl -O http://www.unicode.org/Public/UNIDATA/%s"

However, we can actually remove this dependency by python's owner power.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions