Commit 36064787 authored by Luka Blaskovic's avatar Luka Blaskovic Committed by Jonathan Davies
Browse files

vector: fix build with rustc 1.75

parent 0cc5d8ad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -99,6 +99,8 @@ rustPlatform.buildRustPackage {
    "--skip=sources::aws_kinesis_firehose::tests::handles_acknowledgement_failure"
  ];

  patches = [ ./vector-pr19518.patch ];

  # recent overhauls of DNS support in 0.9 mean that we try to resolve
  # vector.dev during the checkPhase, which obviously isn't going to work.
  # these tests in the DNS module are trivial though, so stubbing them out is
+25 −0
Original line number Diff line number Diff line
diff --git a/src/config/loading/mod.rs b/src/config/loading/mod.rs
index 58c464a58..40656fd29 100644
--- a/src/config/loading/mod.rs
+++ b/src/config/loading/mod.rs
@@ -13,7 +13,6 @@ use std::{
 };
 
 use config_builder::ConfigBuilderLoader;
-pub use config_builder::*;
 use glob::glob;
 use loader::process::Process;
 pub use loader::*;
diff --git a/src/sinks/prometheus/remote_write/mod.rs b/src/sinks/prometheus/remote_write/mod.rs
index 3ebda7df8..cf5b37a70 100644
--- a/src/sinks/prometheus/remote_write/mod.rs
+++ b/src/sinks/prometheus/remote_write/mod.rs
@@ -24,8 +24,6 @@ mod tests;
 #[cfg(all(test, feature = "prometheus-integration-tests"))]
 mod integration_tests;
 
-pub use config::RemoteWriteConfig;
-
 #[derive(Debug, Snafu)]
 enum Errors {
     #[cfg(feature = "aws-core")]