Skip to content

Commit

Permalink
explicit compile failure for windows builds with libtor enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Sep 7, 2022
1 parent 487faa3 commit e942f0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/libtor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#[cfg(target_os = "windows")]
compile_error!("libtor is not supported for windows.");

pub mod tor;

0 comments on commit e942f0e

Please sign in to comment.