Skip to content

Commit b57e2f9

Browse files
authored
Merge pull request #855 from nilfit/pub-config
Make `config` constants public
2 parents 9b791ae + 88fa2c2 commit b57e2f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ mod parsers;
130130
mod rand;
131131

132132
#[cfg(test)]
133-
mod config {
133+
pub mod config {
134134
#![allow(unused)]
135135
pub const ASSEMBLER_MAX_SEGMENT_COUNT: usize = 4;
136136
pub const DNS_MAX_NAME_SIZE: usize = 255;
@@ -150,7 +150,7 @@ mod config {
150150
}
151151

152152
#[cfg(not(test))]
153-
mod config {
153+
pub mod config {
154154
#![allow(unused)]
155155
include!(concat!(env!("OUT_DIR"), "/config.rs"));
156156
}

0 commit comments

Comments
 (0)