import { syncToolchain } from './ALSWLO4X.js';
import { init_esm_shims } from './PHXMTVK6.js';
import { DockerRegistryMirror } from '@layerzerolabs/vm-tooling';

// src/config.ts
init_esm_shims();
var tools = [
  {
    name: "stellar",
    preExecute: syncToolchain,
    defaultVolumes: [
      // NOTE: for configuration commands, you should never put it in your package.json#build or #test, since the config is locked for parallel builds
      // while common commands like contract build and binding generation are allowed since they are not writing to the config files
      {
        type: "isolate",
        containerPath: "/cache/stellar",
        name: "stellar-config",
        shared: true
      },
      // safe to be unlocked as it is POSIX lock guarded
      {
        type: "isolate",
        containerPath: "/cache/cargo",
        name: "stellar-cargo",
        shared: true
      },
      // shared across packages — toolchain is pre-synced via `sync-toolchain` (locked)
      // so concurrent reads from build/test/lint are safe
      {
        type: "isolate",
        containerPath: "/cache/rustup",
        name: "stellar-rustup",
        shared: true
      },
      // safe as the wort case of corruption is cache miss, since it is key-based cache, concurrent writes will produce identical content
      {
        type: "host",
        containerPath: "/cache/sccache",
        hostPath: "~/.sccache"
      }
    ],
    defaultEnv: [
      // sccache configuration
      {
        name: "RUSTC_WRAPPER",
        value: "/usr/local/bin/sccache"
      },
      // mold linker for faster linking
      {
        name: "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER",
        value: "clang"
      },
      {
        name: "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER",
        value: "clang"
      },
      {
        name: "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS",
        value: "-C link-arg=-fuse-ld=mold"
      },
      {
        name: "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS",
        value: "-C link-arg=-fuse-ld=mold"
      }
    ]
  }
];
var images = {
  ["stellar:stellar-23.1.4"]: {
    name: "stellar",
    versions: {
      stellar: "23.1.4"
    }
  },
  ["stellar:stellar-23.1.4-patch-1"]: {
    name: "stellar",
    versions: {
      stellar: "23.1.4"
    },
    patch: 1
  },
  ["stellar:stellar-23.1.4-patch-3"]: {
    name: "stellar",
    versions: {
      stellar: "23.1.4"
    },
    patch: 3
  },
  ["stellar:stellar-23.1.4-patch-6"]: {
    name: "stellar",
    versions: {
      stellar: "23.1.4"
    },
    patch: 6
  },
  ["stellar:stellar-25.0.0"]: {
    name: "stellar",
    versions: {
      stellar: "25.0.0"
    },
    mirrorRegistries: [
      DockerRegistryMirror.PUBLIC_GAR
    ]
  },
  ["stellar:stellar-25.1.0"]: {
    name: "stellar",
    versions: {
      stellar: "25.1.0"
    },
    unreleased: true,
    mirrorRegistries: [
      DockerRegistryMirror.PUBLIC_GAR
    ]
  }
};
var versionCombinations = [
  {
    images: {
      stellar: "stellar:stellar-25.1.0"
    },
    description: "Latest stable release",
    stable: true
  }
];

export { images, tools, versionCombinations };
//# sourceMappingURL=ROHGQ63Y.js.map
//# sourceMappingURL=ROHGQ63Y.js.map