example: Remove code which is now implicitly generated.
[goaljobs.git] / examples / compile-c / compile.ml
index 8e43948..151e8b7 100644 (file)
@@ -17,14 +17,3 @@ and compiled c_file =
   target (more_recent [o_file] [c_file]);
   require (file_exists c_file);
   sh "cd $builddir && cc -c %s -o %s" c_file o_file
-
-(* XXX IMPLICIT *)
-let () =
-  try goal_all ()
-  with
-  | Goal_result (Goal_failed msg) ->
-    prerr_endline ("error: " ^ msg);
-    exit 1
-  | exn ->
-    prerr_endline (Printexc.to_string exn);
-    exit 1