@@ -2769,6 +2769,11 @@ pub struct VenvArgs {
27692769 ///
27702770 /// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
27712771 /// Windows.
2772+ ///
2773+ /// WARNING: The use of symlink link mode is discouraged, as they create tight coupling between
2774+ /// the cache and the target environment. For example, clearing the cache (`uv cache clear`)
2775+ /// will break all installed packages by way of removing the underlying source files. Use
2776+ /// symlinks with caution.
27722777 #[ arg( long, value_enum, env = EnvVars :: UV_LINK_MODE ) ]
27732778 pub link_mode : Option < uv_install_wheel:: LinkMode > ,
27742779
@@ -4808,6 +4813,11 @@ pub struct ToolUpgradeArgs {
48084813 ///
48094814 /// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
48104815 /// Windows.
4816+ ///
4817+ /// WARNING: The use of symlink link mode is discouraged, as they create tight coupling between
4818+ /// the cache and the target environment. For example, clearing the cache (`uv cache clear`)
4819+ /// will break all installed packages by way of removing the underlying source files. Use
4820+ /// symlinks with caution.
48114821 #[ arg(
48124822 long,
48134823 value_enum,
@@ -5612,6 +5622,11 @@ pub struct InstallerArgs {
56125622 ///
56135623 /// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
56145624 /// Windows.
5625+ ///
5626+ /// WARNING: The use of symlink link mode is discouraged, as they create tight coupling between
5627+ /// the cache and the target environment. For example, clearing the cache (`uv cache clear`)
5628+ /// will break all installed packages by way of removing the underlying source files. Use
5629+ /// symlinks with caution.
56155630 #[ arg(
56165631 long,
56175632 value_enum,
@@ -5824,6 +5839,11 @@ pub struct ResolverArgs {
58245839 ///
58255840 /// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
58265841 /// Windows.
5842+ ///
5843+ /// WARNING: The use of symlink link mode is discouraged, as they create tight coupling between
5844+ /// the cache and the target environment. For example, clearing the cache (`uv cache clear`)
5845+ /// will break all installed packages by way of removing the underlying source files. Use
5846+ /// symlinks with caution.
58275847 #[ arg(
58285848 long,
58295849 value_enum,
@@ -6028,6 +6048,11 @@ pub struct ResolverInstallerArgs {
60286048 ///
60296049 /// Defaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and
60306050 /// Windows.
6051+ ///
6052+ /// WARNING: The use of symlink link mode is discouraged, as they create tight coupling between
6053+ /// the cache and the target environment. For example, clearing the cache (`uv cache clear`)
6054+ /// will break all installed packages by way of removing the underlying source files. Use
6055+ /// symlinks with caution.
60316056 #[ arg(
60326057 long,
60336058 value_enum,
0 commit comments