Inline(never) more things for rqbit(bin) to compile faster
This commit is contained in:
parent
f42007f436
commit
34f3ec6c29
5 changed files with 72 additions and 47 deletions
|
|
@ -45,6 +45,7 @@ impl HttpApi {
|
|||
|
||||
/// Run the HTTP server forever on the given address.
|
||||
/// If read_only is passed, no state-modifying methods will be exposed.
|
||||
#[inline(never)]
|
||||
pub fn make_http_api_and_run(
|
||||
self,
|
||||
addr: SocketAddr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue