aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
17
akode-rs/app-server-protocol/schema_generator.rs
Normal file
17
akode-rs/app-server-protocol/schema_generator.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
//! Bazel schema exporter using the crate's test-only schema derives.
|
||||
//!
|
||||
//! Built with `--cfg=test` rather than `--test`: schema derives remain enabled,
|
||||
//! while Rust omits `#[test]` functions and the libtest harness.
|
||||
|
||||
#![allow(dead_code, unused_imports)]
|
||||
|
||||
include!("src/lib.rs");
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
// Match the stack used by the existing libtest-based schema writer.
|
||||
std::thread::Builder::new()
|
||||
.stack_size(8 * 1024 * 1024)
|
||||
.spawn(schema_fixtures::write_schema_fixtures_from_env)?
|
||||
.join()
|
||||
.unwrap_or_else(|panic| std::panic::resume_unwind(panic))
|
||||
}
|
||||
Reference in New Issue
Block a user