Skip to content

Commit edbd77c

Browse files
authored
Fixes #3785 (#3786)
1 parent a0c2542 commit edbd77c

File tree

1 file changed

+2
-0
lines changed
  • src/Fable.Build/FableLibrary

1 file changed

+2
-0
lines changed

src/Fable.Build/FableLibrary/Rust.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ type BuildFableLibraryRust() =
2222

2323
Command.Run("cargo", "build", workingDirectory = this.BuildDir)
2424

25+
Command.Run("cargo", "clean", workingDirectory = this.BuildDir)
26+
2527
override this.CopyStage() =
2628
// Copy all *.rs files to the build directory
2729
Directory.GetFiles(this.SourceDir, "*.rs") |> Shell.copyFiles this.OutDir

0 commit comments

Comments
 (0)