MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / build_java_linker

Function build_java_linker

build.py:213–223  ·  view source on GitHub ↗

Builds the java-linker subproject.

()

Source from the content-addressed store, hash-verified

211 print(f"{Colors.RED}❌ Expected runtime JAR was not created: {Config.RUNTIME_JAR}{Colors.RESET}")
212 sys.exit(1)
213 if contains_non_runtime_classes(Config.RUNTIME_JAR):
214 print(f"{Colors.RED}❌ Java runtime JAR contains classes outside org.rustlang.runtime.{Colors.RESET}")
215 sys.exit(1)
216
217 print(f"{Colors.GREEN} Java runtime built successfully.{Colors.RESET}")
218
219def build_rust_backend():
220 """Builds the main rustc_codegen_jvm backend."""
221 sources = Config.BACKEND_RUST_SOURCES
222 toolchain = rustc_toolchain_fingerprint()
223 recorded_toolchain = (
224 Config.RUST_BACKEND_TOOLCHAIN.read_text()
225 if Config.RUST_BACKEND_TOOLCHAIN.exists()
226 else None

Callers 1

all_tasksFunction · 0.85

Calls 1

is_staleFunction · 0.85

Tested by

no test coverage detected