Skip to content

Document improve: use .cargo/config.toml to set env #152

@vcup

Description

@vcup

This way has serval benefits, for example.

  • IDE syncing support
  • support relative path than can be work everywhere
  • repository embeded configuration

config.toml look like below.

[env]
FFMPEG_PKG_CONFIG_PATH = { value = "target/vcpkg/installed/x64-linux/lib/pkgconfig", relative = true }

useful links:
.cargo/config.toml
section detail
thread on stackoverflow

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