File Coverage

blib/lib/SPVM/Sys/Poll/Constant.config
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # Copyright (c) 2023 Yuki Kimoto
2             # MIT License
3              
4 2     2   882516 use strict;
  2         30  
  2         95  
5 2     2   12 use warnings;
  2         4  
  2         92  
6 2     2   16 use SPVM::Builder::Config;
  2         7  
  2         229  
7              
8             my $config = SPVM::Builder::Config->new_gnu99(file => __FILE__);
9              
10             if ($^O eq 'MSWin32') {
11             $config->add_lib('wsock32', 'ws2_32');
12             }
13              
14             $config;