diff --git a/Source/buildimplementationrust.go b/Source/buildimplementationrust.go index dd29bb66..36aeeaf4 100644 --- a/Source/buildimplementationrust.go +++ b/Source/buildimplementationrust.go @@ -245,6 +245,7 @@ func buildRustInterfaces(component ComponentDefinition, w LanguageWriter) error func buildCargoForRustImplementation(component ComponentDefinition, w LanguageWriter, path string) error { projectName := strings.ToLower(component.NameSpace) + projectName = strings.CutPrefix(projectName, "lib") w.Writeln("[package]") w.Writeln(" name = \"%s\"", projectName) w.Writeln(" version = \"0.1.0\"") diff --git a/run.bat b/run.bat deleted file mode 100644 index 02babfa0..00000000 --- a/run.bat +++ /dev/null @@ -1,4 +0,0 @@ -CALL Build/build.bat -act.exe tmp/libPrimes.xml -o tmp -cd tmp/libPrimes_component/Implementations/Rust -cargo +nightly b \ No newline at end of file