Skip to content

Guard Android DNS resolver hack behind !cgo#3755

Open
dyhkwong wants to merge 1 commit into
v2fly:masterfrom
dyhkwong:master
Open

Guard Android DNS resolver hack behind !cgo#3755
dyhkwong wants to merge 1 commit into
v2fly:masterfrom
dyhkwong:master

Conversation

@dyhkwong

@dyhkwong dyhkwong commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

When v2ray-core is compiled with CGO, this hack is not needed. This also makes it problematic to use v2ray-core as a native library on Android, which almost comes with CGO enabled (compiled with NDK).

Example: I need to remove the hard-coded DNS for v2ray-plugin-android to make it work. https://github.com/ExclaveNetwork/v2ray-plugin-android/releases/tag/v1.3.4

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 25.29%. Comparing base (63c44fd) to head (8be9b91).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3755   +/-   ##
=======================================
  Coverage   25.28%   25.29%           
=======================================
  Files         905      905           
  Lines       56382    56384    +2     
=======================================
+ Hits        14255    14260    +5     
+ Misses      40320    40315    -5     
- Partials     1807     1809    +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant