From 6f41d0d5fafdc1e4d1e8ef75f05d336f0ead4a4d Mon Sep 17 00:00:00 2001 From: Kinflou Date: Tue, 13 Oct 2026 18:51:09 +0800 Subject: [PATCH] chore: point at the aliased-import fix in the Rust generator comline-rust#39: `use shared::Shared as Aliased` emitted `crate::shared::Aliased`, where `shared` exports only `Shared` - well-formed Rust that names nothing (`error[E0425]`). Any project using an aliased cross-schema import got output that wouldn't build. Found by making the conformance corpus multi-schema (generation#47), which until then held one schema per fixture and so couldn't express a reference crossing schemas at all. --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55906ca..1442cdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -406,7 +406,7 @@ dependencies = [ [[package]] name = "comline-codegen-rust" version = "0.1.0" -source = "git+https://github.com/ComlineProject/comline-rust?rev=5b1ba2b099cc295c6768935623f4c084f134e6b8#5b1ba2b099cc295c6768935623f4c084f134e6b8" +source = "git+https://github.com/ComlineProject/comline-rust?rev=f48b6c7c3bccb6b2d1b9d54c10aa803a90cc091a#f48b6c7c3bccb6b2d1b9d54c10aa803a90cc091a" dependencies = [ "comline-codegen", "comline-core", diff --git a/Cargo.toml b/Cargo.toml index 825f99f..01dd2a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ comline-core = { git = "https://github.com/ComlineProject/core", rev = "016e3860 # one *they* pin - Cargo only unifies a git dependency across identical rev # strings, and two copies of `GenRequest` are two incompatible types. comline-codegen = { git = "https://github.com/ComlineProject/generation", rev = "69a3e37ae788a91c5f72dd047d6196aa4c95fdef" } -comline-codegen-rust = { git = "https://github.com/ComlineProject/comline-rust", rev = "5b1ba2b099cc295c6768935623f4c084f134e6b8", optional = true } +comline-codegen-rust = { git = "https://github.com/ComlineProject/comline-rust", rev = "f48b6c7c3bccb6b2d1b9d54c10aa803a90cc091a", optional = true } comline-codegen-typescript = { git = "https://github.com/ComlineProject/comline-typescript", rev = "ce52a8a6c25aa0aa3286618f1fd33b155d6ba853", optional = true } [features]