mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-25 07:44:03 +00:00
Modernize C builds with offline dependencies and portable runtime helpers (#3050)
Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.
Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "test_helpers.h"
|
||||
|
||||
int verbose = 0;
|
||||
|
||||
@@ -129,6 +127,7 @@ test_get_sockaddr_rejects_invalid_ip_literal_ports(void)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
test_network_init();
|
||||
test_get_sockaddr_len();
|
||||
test_sockaddr_cmp();
|
||||
test_sockaddr_cmp_addr();
|
||||
|
||||
Reference in New Issue
Block a user