File tree 6 files changed +2
-53
lines changed
6 files changed +2
-53
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def _c2hs_library_impl(ctx):
42
42
args .add_all ([chs_file .path , "-o" , hs_file .path ])
43
43
44
44
args .add ("-C-E" )
45
- args .add_all (["--cpp" , cc .tools .cpp ])
45
+ args .add_all (["--cpp" , cc .tools .cc ])
46
46
args .add ("-C-includeghcplatform.h" )
47
47
args .add ("-C-includeghcversion.h" )
48
48
args .add_all (["-C" + x for x in cc .cpp_flags ])
Original file line number Diff line number Diff line change @@ -10,22 +10,12 @@ c2hs_library(
10
10
name = "foo" ,
11
11
srcs = ["src/Foo/Foo.chs" ],
12
12
src_strip_prefix = "src" ,
13
- tags = [
14
- # See https://github.com/tweag/rules_haskell/issues/1486
15
- "dont_test_on_darwin_with_bindist" ,
16
- "dont_test_on_windows" ,
17
- ],
18
13
deps = ["//tests:zlib" ],
19
14
)
20
15
21
16
c2hs_library (
22
17
name = "bar" ,
23
18
srcs = ["Bar.chs" ],
24
- tags = [
25
- # See https://github.com/tweag/rules_haskell/issues/1486
26
- "dont_test_on_darwin_with_bindist" ,
27
- "dont_test_on_windows" ,
28
- ],
29
19
deps = [":foo" ],
30
20
)
31
21
@@ -36,11 +26,6 @@ haskell_library(
36
26
":foo" ,
37
27
"@c2hs_repo//:baz" ,
38
28
],
39
- tags = [
40
- # See https://github.com/tweag/rules_haskell/issues/1486
41
- "dont_test_on_darwin_with_bindist" ,
42
- "dont_test_on_windows" ,
43
- ],
44
29
deps = ["//tests/hackage:base" ],
45
30
)
46
31
Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ package(default_testonly = 1)
5
5
c2hs_library (
6
6
name = "baz" ,
7
7
srcs = ["Baz.chs" ],
8
- tags = [
9
- # See https://github.com/tweag/rules_haskell/issues/1486
10
- "dont_test_on_darwin_with_bindist" ,
11
- "dont_test_on_windows" ,
12
- ],
13
8
visibility = ["//visibility:public" ],
14
9
deps = ["@rules_haskell//tests:zlib" ],
15
10
)
Original file line number Diff line number Diff line change @@ -6,23 +6,13 @@ rules_haskell_integration_test(
6
6
name = "haskell_module_repl_test" ,
7
7
size = "small" ,
8
8
srcs = ["HaskellModuleReplTest.hs" ],
9
- tags = [
10
- # See https://github.com/tweag/rules_haskell/issues/1486
11
- "dont_test_on_darwin_with_bindist" ,
12
- "dont_test_on_windows" ,
13
- ],
14
9
workspace_path = "haskell_module_repl_test" ,
15
10
)
16
11
17
12
rules_haskell_integration_test (
18
13
name = "haskell_module_repl_cross_library_deps_test" ,
19
14
size = "small" ,
20
15
srcs = ["HaskellModuleReplCrossLibraryDepsTest.hs" ],
21
- tags = [
22
- # See https://github.com/tweag/rules_haskell/issues/1486
23
- "dont_test_on_darwin_with_bindist" ,
24
- "dont_test_on_windows" ,
25
- ],
26
16
workspace_path = "haskell_module_repl_cross_library_deps_test" ,
27
17
)
28
18
Original file line number Diff line number Diff line change @@ -24,11 +24,6 @@ genrule(
24
24
c2hs_library (
25
25
name = "chs" ,
26
26
srcs = ["Chs.chs" ],
27
- tags = [
28
- # See https://github.com/tweag/rules_haskell/issues/1486
29
- "dont_test_on_darwin_with_bindist" ,
30
- "dont_test_on_windows" ,
31
- ],
32
27
)
33
28
34
29
haskell_library (
@@ -39,11 +34,6 @@ haskell_library(
39
34
":chs" ,
40
35
":codegen" ,
41
36
],
42
- tags = [
43
- # See https://github.com/tweag/rules_haskell/issues/1486
44
- "dont_test_on_darwin_with_bindist" ,
45
- "dont_test_on_windows" ,
46
- ],
47
37
visibility = ["//visibility:public" ],
48
38
deps = [
49
39
"//tests:zlib" ,
@@ -124,9 +114,8 @@ rules_haskell_integration_test(
124
114
name = "hs_lib_repl_test" ,
125
115
srcs = ["HsLibReplTest.hs" ],
126
116
tags = [
127
- # See https://github.com/tweag/rules_haskell/issues/1486
117
+ # See https://github.com/tweag/rules_haskell/issues/1779
128
118
"dont_test_on_darwin_with_bindist" ,
129
- "dont_test_on_windows" ,
130
119
],
131
120
workspace_path = "hs_lib_repl_test" ,
132
121
)
Original file line number Diff line number Diff line change @@ -70,11 +70,6 @@ haskell_module(
70
70
c2hs_library (
71
71
name = "c2hs-lib" ,
72
72
srcs = ["C2hsLib.chs" ],
73
- tags = [
74
- # See https://github.com/tweag/rules_haskell/issues/1486
75
- "dont_test_on_darwin_with_bindist" ,
76
- "dont_test_on_windows" ,
77
- ],
78
73
version = "4.5.6.7" ,
79
74
deps = [
80
75
":versioned-lib" ,
@@ -90,11 +85,6 @@ haskell_test(
90
85
":c2hs-lib" ,
91
86
],
92
87
main_file = "MainC2hs.hs" ,
93
- tags = [
94
- # See https://github.com/tweag/rules_haskell/issues/1486
95
- "dont_test_on_darwin_with_bindist" ,
96
- "dont_test_on_windows" ,
97
- ],
98
88
version = "4.5.6.7" ,
99
89
visibility = ["//tests/asterius/version-macros:__pkg__" ],
100
90
deps = [
You can’t perform that action at this time.
0 commit comments