-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270233 from mfrischknecht/fix-kapacitor-build
kapacitor: fix build of embedded `libflux` dependency with current rust
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/servers/monitoring/kapacitor/fix-linting-error-on-unneeded-clone.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/flux-core/src/semantic/flatbuffers/types.rs b/flux-core/src/semantic/flatbuffers/types.rs | ||
index c3eecf06..9baf4070 100644 | ||
--- a/flux-core/src/semantic/flatbuffers/types.rs | ||
+++ b/flux-core/src/semantic/flatbuffers/types.rs | ||
@@ -715,7 +715,7 @@ mod tests { | ||
|
||
fn test_serde(expr: &'static str) { | ||
// let want = parser::parse(expr).unwrap(); | ||
- let mut p = parser::Parser::new(expr.clone()); | ||
+ let mut p = parser::Parser::new(expr); | ||
|
||
let typ_expr = p.parse_type_expression(); | ||
if let Err(err) = ast::check::check(ast::walk::Node::TypeExpression(&typ_expr)) { |