Removed Fence denugging statements

This commit is contained in:
2026-01-27 14:09:30 -05:00
parent 05390a8f0b
commit 82b45d9c66
2 changed files with 0 additions and 12 deletions

View File

@@ -79,12 +79,6 @@ impl JVM {
) -> anyhow::Result<(Option<String>, Option<String>)> { ) -> anyhow::Result<(Option<String>, Option<String>)> {
let mut cmd = vec![JAVA_VM.to_string()]; let mut cmd = vec![JAVA_VM.to_string()];
println!("Fence 4");
// proper format
// java -Xms128m -Xmx512m -cp PROJECT_ROOT/src/text \test.Test
// current format
// java Xms128.0 MiB Xmx512.0 MiB /home/viffx/Coding/Rust/raven/src/Test1/src/test/
cmd.extend( cmd.extend(
self.flags self.flags
.clone() .clone()
@@ -92,7 +86,6 @@ impl JVM {
.flat_map(|f| Into::<Vec<String>>::into(f)), .flat_map(|f| Into::<Vec<String>>::into(f)),
); );
println!("Fence 5");
for part in &cmd { for part in &cmd {
println!("{}", part); println!("{}", part);
} }
@@ -102,11 +95,9 @@ impl JVM {
// Jave needs a class path and a file name to run. // Jave needs a class path and a file name to run.
cmd.push("Test".to_string()); cmd.push("Test".to_string());
println!("Fence 6");
println!("{:?}", cmd.as_slice()); println!("{:?}", cmd.as_slice());
println!("Fence 7");
let result = crate::io::run_process(cmd.as_slice()); let result = crate::io::run_process(cmd.as_slice());
if self.monitor if self.monitor

View File

@@ -248,18 +248,15 @@ fn run<P: AsRef<Path>>(
} }
fn test(assertions: bool) -> anyhow::Result<(Option<String>, Option<String>)> { fn test(assertions: bool) -> anyhow::Result<(Option<String>, Option<String>)> {
println!("Fence 1");
java::CompilerBuilder::new() java::CompilerBuilder::new()
.class_path(DIR_TARGET.as_path()) .class_path(DIR_TARGET.as_path())
.destination(DIR_TARGET.as_path()) .destination(DIR_TARGET.as_path())
.build() .build()
.compile(DIR_TEST.as_path())?; .compile(DIR_TEST.as_path())?;
println!("Fence 2");
// Change cwd to avoid Java pathing issues. // Change cwd to avoid Java pathing issues.
crate::env::set_cwd(DIR_TARGET.as_path())?; crate::env::set_cwd(DIR_TARGET.as_path())?;
println!("Fence 3");
java::JVMBuilder::new() java::JVMBuilder::new()
.assertions(assertions) .assertions(assertions)
.ram_min(ByteSize::mib(128)) .ram_min(ByteSize::mib(128))