Skip to content

Commit

Permalink
reproduce error
Browse files Browse the repository at this point in the history
Signed-off-by: tabokie <xy.tao@outlook.com>
  • Loading branch information
tabokie committed Jul 12, 2023
1 parent 0dd3e60 commit b337aad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ jobs:
shell: cmd
- run: go version ; cargo version ; cmake --version
- run: cargo xtask submodule
- run: cargo build
- run: cargo build --no-default-features
- run: cargo build --no-default-features --features "protobuf-codec"
- run: cargo build --no-default-features --features "prost-codec"
- run: cargo test --all
- run: cargo test --features "nightly"

Expand Down
8 changes: 4 additions & 4 deletions src/security/mod.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Copyright 2020 TiKV Project Authors. Licensed under Apache-2.0.

#[cfg(feature = "_secure")]
// #[cfg(feature = "_secure")]
mod auth_context;
#[cfg(feature = "_secure")]
mod credentials;

use grpcio_sys::{grpc_channel_credentials, grpc_server_credentials};

#[cfg(feature = "_secure")]
// #[cfg(feature = "_secure")]
pub use self::auth_context::*;
#[cfg(not(feature = "_secure"))]
pub struct AuthContext;
// #[cfg(not(feature = "_secure"))]
// pub struct AuthContext;

#[cfg(feature = "_secure")]
pub use self::credentials::{
Expand Down

0 comments on commit b337aad

Please sign in to comment.