Skip to content

current_exe documentation incorrectly claims symlink can cause unexpected value #47264

Closed
@alercah

Description

@alercah

The documentation for std::env::current_exe claims that a symbolic link on Linux can cause an incorrect value to be returned. This isn't true, however; a hard link must be used. The ld command given in the example actually creates a hard link since -s isn't passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions