itsi-server 0.2.24-aarch64-linux → 0.2.26-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +4 -2
  3. data/Cargo.toml +0 -1
  4. data/ext/itsi_scheduler/Cargo.toml +1 -1
  5. data/ext/itsi_server/Cargo.lock +2 -2
  6. data/ext/itsi_server/Cargo.toml +1 -1
  7. data/ext/itsi_server/src/server/middleware_stack/mod.rs +9 -3
  8. data/ext/itsi_server/src/services/itsi_http_service.rs +8 -5
  9. data/lib/itsi/http_request.rb +8 -1
  10. data/lib/itsi/server/3.1/itsi_server.so +0 -0
  11. data/lib/itsi/server/3.2/itsi_server.so +0 -0
  12. data/lib/itsi/server/3.3/itsi_server.so +0 -0
  13. data/lib/itsi/server/3.4/itsi_server.so +0 -0
  14. data/lib/itsi/server/4.0/itsi_server.so +0 -0
  15. data/lib/itsi/server/version.rb +1 -1
  16. metadata +2 -20
  17. data/vendor/rb-sys-build/.cargo-ok +0 -1
  18. data/vendor/rb-sys-build/.cargo_vcs_info.json +0 -6
  19. data/vendor/rb-sys-build/Cargo.lock +0 -294
  20. data/vendor/rb-sys-build/Cargo.toml +0 -71
  21. data/vendor/rb-sys-build/Cargo.toml.orig +0 -32
  22. data/vendor/rb-sys-build/LICENSE-APACHE +0 -190
  23. data/vendor/rb-sys-build/LICENSE-MIT +0 -21
  24. data/vendor/rb-sys-build/src/bindings/sanitizer.rs +0 -185
  25. data/vendor/rb-sys-build/src/bindings/stable_api.rs +0 -247
  26. data/vendor/rb-sys-build/src/bindings/wrapper.h +0 -71
  27. data/vendor/rb-sys-build/src/bindings.rs +0 -280
  28. data/vendor/rb-sys-build/src/cc.rs +0 -421
  29. data/vendor/rb-sys-build/src/lib.rs +0 -12
  30. data/vendor/rb-sys-build/src/rb_config/flags.rs +0 -101
  31. data/vendor/rb-sys-build/src/rb_config/library.rs +0 -132
  32. data/vendor/rb-sys-build/src/rb_config/search_path.rs +0 -57
  33. data/vendor/rb-sys-build/src/rb_config.rs +0 -906
  34. data/vendor/rb-sys-build/src/utils.rs +0 -53
@@ -1,53 +0,0 @@
1
- use crate::debug_log;
2
-
3
- /// Check if current platform is mswin.
4
- pub fn is_msvc() -> bool {
5
- if let Ok(target) = std::env::var("TARGET") {
6
- target.contains("msvc")
7
- } else {
8
- false
9
- }
10
- }
11
-
12
- /// Check if current platform is mswin or mingw.
13
- pub fn is_mswin_or_mingw() -> bool {
14
- if let Ok(target) = std::env::var("TARGET") {
15
- target.contains("msvc") || target.contains("pc-windows-gnu")
16
- } else {
17
- false
18
- }
19
- }
20
-
21
- /// Splits shell words.
22
- pub fn shellsplit<S: AsRef<str>>(s: S) -> Vec<String> {
23
- let s = s.as_ref();
24
- match shell_words::split(s) {
25
- Ok(v) => v,
26
- Err(e) => {
27
- debug_log!("WARN: shellsplit failed: {}", e);
28
- s.split_whitespace().map(Into::into).collect()
29
- }
30
- }
31
- }
32
-
33
- #[macro_export]
34
- macro_rules! memoize {
35
- ($type:ty: $val:expr) => {{
36
- static INIT: std::sync::Once = std::sync::Once::new();
37
- static mut VALUE: Option<$type> = None;
38
- #[allow(static_mut_refs)]
39
- unsafe {
40
- INIT.call_once(|| {
41
- VALUE = Some($val);
42
- });
43
- VALUE.as_ref().unwrap()
44
- }
45
- }};
46
- }
47
-
48
- #[macro_export]
49
- macro_rules! debug_log {
50
- ($($arg:tt)*) => {
51
- eprintln!($($arg)*);
52
- };
53
- }