Immediately panic when using S3 snapshot options on Windows

This commit is contained in:
Kerollmops
2025-11-05 15:12:06 +01:00
parent f9d57f54df
commit 0bb91f4a77

View File

@@ -705,6 +705,8 @@ impl Opt {
);
indexer_options.export_to_env();
if let Some(s3_snapshot_options) = s3_snapshot_options {
#[cfg(not(unix))]
panic!("S3 snapshot options are not supported on Windows");
s3_snapshot_options.export_to_env();
}
}