We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6366c3f commit d45e2c2Copy full SHA for d45e2c2
src/arduino.cc/builder/jsonrpc/rpc.go
@@ -71,6 +71,14 @@ func (h *BuildHandler) ServeJSONRPC(c context.Context, params *json.RawMessage)
71
h.ctx.BuildCachePath = p.BuildCachePath
72
h.ctx.BuildPath = p.BuildPath
73
h.ctx.WarningsLevel = p.WarningsLevel
74
+ h.ctx.PrototypesSection = ""
75
+
76
+ h.ctx.IncludeFolders = h.ctx.IncludeFolders[0:0]
77
+ h.ctx.LibrariesObjectFiles = h.ctx.LibrariesObjectFiles[0:0]
78
+ h.ctx.CoreObjectsFiles = h.ctx.CoreObjectsFiles[0:0]
79
+ h.ctx.SketchObjectFiles = h.ctx.SketchObjectFiles[0:0]
80
81
+ h.ctx.ImportedLibraries = h.ctx.ImportedLibraries[0:0]
82
83
err := builder.RunBuilder(h.ctx)
84
if err != nil {
0 commit comments