Skip to content

Use feature guard instead of environment variable to enable static link #653

Closed
@BusyJay

Description

@BusyJay

Using environment variable will have following shortcomings:

  • A rebuild won't be triggered when set an environment variable;
  • If some project always prefer linking statically, there is no clean way to build such a binary.

Features guard can solve both perfectly, and also a rusty way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions